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

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

public class HasSelectedProjectCondition
extends AbstractJiraCondition

Checks if a project is selected

The project must be set within JiraHelper


Constructor Summary
HasSelectedProjectCondition()
           
 
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
 

Constructor Detail

HasSelectedProjectCondition

public HasSelectedProjectCondition()
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.