com.atlassian.jira.plugin.webfragment.conditions
Class UserIsTheLoggedInUserCondition

java.lang.Object
  extended by com.atlassian.jira.plugin.webfragment.conditions.AbstractJiraCondition
      extended by com.atlassian.jira.plugin.webfragment.conditions.UserIsTheLoggedInUserCondition
All Implemented Interfaces:
com.atlassian.plugin.web.Condition

public class UserIsTheLoggedInUserCondition
extends AbstractJiraCondition

Used to determine if the logged in user is the same as the profile user in the jira helper.

Since:
v3.12

Field Summary
static java.lang.String PROFILE_USER
           
 
Constructor Summary
UserIsTheLoggedInUserCondition()
           
 
Method Summary
 boolean shouldDisplay(com.opensymphony.user.User user, JiraHelper jiraHelper)
           
 
Methods inherited from class com.atlassian.jira.plugin.webfragment.conditions.AbstractJiraCondition
init, shouldDisplay
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROFILE_USER

public static final java.lang.String PROFILE_USER
See Also:
Constant Field Values
Constructor Detail

UserIsTheLoggedInUserCondition

public UserIsTheLoggedInUserCondition()
Method Detail

shouldDisplay

public boolean shouldDisplay(com.opensymphony.user.User user,
                             JiraHelper jiraHelper)
Specified by:
shouldDisplay in class AbstractJiraCondition


Copyright © 2002-2010 Atlassian. All Rights Reserved.