Known Direct Subclasses
|
This class is designed for plugins to
implement.
Clients of @PublicSpi
can expect
that programs compiled against a given version will remain binary compatible with later versions of the
@PublicSpi
as per each product's API policy (clients should refer to each product's API policy for
the exact guarantee -- usually binary compatibility is guaranteed at least across minor versions).
Note:
@PublicSpi
interfaces and classes are specifically designed to be implemented/extended by clients.
Hence, the guarantee of binary compatibility is different to that of
@PublicApi
elements (if an element
is both
@PublicApi
and
@PublicSpi
, both guarantees apply).
Class Overview
Convenient abstraction for 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.
Public Constructors
public
AbstractIssueWebCondition
()
Public Methods
public
abstract
boolean
shouldDisplay
(ApplicationUser user, Issue issue, JiraHelper jiraHelper)
Should we display this item for this issue?
Parameters
user
| The current user |
issue
| The issue we are displaying against |
jiraHelper
| The JiraHelper |
Returns
- true if we should display this item, false otherwise