com.atlassian.jira.plugin.webfragment.conditions
Class AbstractIssueCondition
java.lang.Object
com.atlassian.jira.plugin.webfragment.conditions.AbstractJiraCondition
com.atlassian.jira.plugin.webfragment.conditions.AbstractIssueCondition
- All Implemented Interfaces:
- com.atlassian.plugin.web.Condition
- Direct Known Subclasses:
- CanAttachFileToIssueCondition, CanAttachScreenshotToIssueCondition, CanConvertToIssueCondition, CanConvertToSubTaskCondition, HasSubTasksAvailableCondition, HasVotedForIssueCondition, IsIssueAssignedToCurrentUserCondition, IsIssueEditableCondition, IsIssueReportedByCurrentUserCondition, IsIssueUnresolvedCondition, IsSubTaskCondition, IsWatchingIssueCondition
public abstract class AbstractIssueCondition
- extends AbstractJiraCondition
Abstract condition for testing conditions on issues
An issue must be in the JiraHelper context params.
- Since:
- v4.1
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractIssueCondition
public AbstractIssueCondition()
shouldDisplay
public boolean shouldDisplay(User user,
JiraHelper jiraHelper)
- Specified by:
shouldDisplay
in class AbstractJiraCondition
shouldDisplay
public abstract boolean shouldDisplay(User user,
Issue issue,
JiraHelper jiraHelper)
- Should we display this item for this issue?
- Parameters:
user
- The current userissue
- The issue we are displaying againstjiraHelper
- The JiraHelper
- Returns:
- true if we should display this item, false otherwise
Copyright © 2002-2011 Atlassian. All Rights Reserved.