@PublicSpi public abstract class AbstractIssueWebCondition extends AbstractWebCondition
Conditions that are aware of JIRA's
authentication and project- or issue-related contexts. These can be
used in action configurations to guard conditionally displayed content.
An issue must be in the JiraHelper context params.
| Constructor and Description |
|---|
AbstractIssueWebCondition() |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
shouldDisplay(ApplicationUser user,
Issue issue,
JiraHelper jiraHelper)
Should we display this item for this issue?
|
boolean |
shouldDisplay(ApplicationUser user,
JiraHelper jiraHelper) |
init, shouldDisplaypublic boolean shouldDisplay(ApplicationUser user, JiraHelper jiraHelper)
shouldDisplay in class AbstractWebConditionpublic abstract boolean shouldDisplay(ApplicationUser user, Issue issue, JiraHelper jiraHelper)
user - The current userissue - The issue we are displaying againstjiraHelper - The JiraHelperCopyright © 2002-2017 Atlassian. All Rights Reserved.