Class IsSubTaskCondition
java.lang.Object
com.atlassian.jira.plugin.webfragment.conditions.AbstractWebCondition
com.atlassian.jira.plugin.webfragment.conditions.AbstractIssueWebCondition
com.atlassian.jira.plugin.webfragment.conditions.IsSubTaskCondition
- All Implemented Interfaces:
com.atlassian.plugin.web.api.baseconditions.BaseCondition
,com.atlassian.plugin.web.Condition
Condition to determine whether an issue is a subtask
An issue must be in the JiraHelper context params.
- Since:
- v4.1
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
shouldDisplay
(ApplicationUser user, Issue issue, JiraHelper jiraHelper) Should we display this item for this issue?Methods inherited from class com.atlassian.jira.plugin.webfragment.conditions.AbstractIssueWebCondition
shouldDisplay
Methods inherited from class com.atlassian.jira.plugin.webfragment.conditions.AbstractWebCondition
getApplicationUser, init, shouldDisplay
-
Constructor Details
-
IsSubTaskCondition
public IsSubTaskCondition()
-
-
Method Details
-
shouldDisplay
Description copied from class:AbstractIssueWebCondition
Should we display this item for this issue?- Specified by:
shouldDisplay
in classAbstractIssueWebCondition
- Parameters:
user
- The current userissue
- The issue we are displaying againstjiraHelper
- The JiraHelper- Returns:
- true if we should display this item, false otherwise
-