@Deprecated @PublicSpi public abstract class

AbstractIssueCondition

extends AbstractJiraCondition
java.lang.Object
   ↳ com.atlassian.jira.plugin.webfragment.conditions.AbstractJiraCondition
     ↳ com.atlassian.jira.plugin.webfragment.conditions.AbstractIssueCondition

This class is deprecated.
Extend AbstractIssueWebCondition instead. Since v6.0.

@PublicSpi

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

Abstract condition for testing conditions on issues

An issue must be in the JiraHelper context params.

Summary

Public Constructors
AbstractIssueCondition()
Public Methods
boolean shouldDisplay(ApplicationUser user, JiraHelper jiraHelper)
abstract boolean shouldDisplay(ApplicationUser user, Issue issue, JiraHelper jiraHelper)
Should we display this item for this issue?
[Expand]
Inherited Methods
From class com.atlassian.jira.plugin.webfragment.conditions.AbstractJiraCondition
From class java.lang.Object
From interface com.atlassian.plugin.web.Condition

Public Constructors

public AbstractIssueCondition ()

Public Methods

public boolean shouldDisplay (ApplicationUser user, JiraHelper jiraHelper)

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