@PublicSpi public abstract class AbstractIssueWebCondition extends AbstractWebCondition
Condition
s 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) |
getApplicationUser, init, shouldDisplay
public boolean shouldDisplay(ApplicationUser user, JiraHelper jiraHelper)
shouldDisplay
in class AbstractWebCondition
public abstract boolean shouldDisplay(ApplicationUser user, Issue issue, JiraHelper jiraHelper)
user
- The current userissue
- The issue we are displaying againstjiraHelper
- The JiraHelperCopyright © 2002-2024 Atlassian. All Rights Reserved.