com.atlassian.jira.plugin.webfragment.conditions
Class IsIssueAssignedToCurrentUserCondition
java.lang.Object
com.atlassian.jira.plugin.webfragment.conditions.AbstractWebCondition
com.atlassian.jira.plugin.webfragment.conditions.AbstractIssueWebCondition
com.atlassian.jira.plugin.webfragment.conditions.IsIssueAssignedToCurrentUserCondition
- All Implemented Interfaces:
- com.atlassian.plugin.web.baseconditions.BaseCondition, com.atlassian.plugin.web.Condition
public class IsIssueAssignedToCurrentUserCondition
- extends AbstractIssueWebCondition
Condition to checkif the current user is the assignee of the current issue
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 |
IsIssueAssignedToCurrentUserCondition
public IsIssueAssignedToCurrentUserCondition()
shouldDisplay
public boolean shouldDisplay(ApplicationUser user,
Issue issue,
JiraHelper jiraHelper)
- Description copied from class:
AbstractIssueWebCondition
- Should we display this item for this issue?
- Specified by:
shouldDisplay
in class AbstractIssueWebCondition
- 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-2014 Atlassian. All Rights Reserved.