com.pyxis.greenhopper.jira.conditions
Class AbstractGreenHopperCondition

java.lang.Object
  extended by com.atlassian.jira.plugin.webfragment.conditions.AbstractJiraCondition
      extended by com.pyxis.greenhopper.jira.conditions.AbstractGreenHopperCondition
All Implemented Interfaces:
com.atlassian.plugin.web.Condition
Direct Known Subclasses:
BetaFeatureEnabledCondition, CanAccessClassicBoardsCondition, CanCreateBoardCondition, GreenHopperIssueCondition, GreenHopperLicensedCondition, HasRapidViewHistoryCondition, MyJiraHomeEnabledCondition, RankingAllowedCondition

public abstract class AbstractGreenHopperCondition
extends com.atlassian.jira.plugin.webfragment.conditions.AbstractJiraCondition

The base class always checks whether our GreenHopper license is verifiable.

Some web items should not be displayed in this case - namely, in the OnDemand world.


Constructor Summary
AbstractGreenHopperCondition()
           
 
Method Summary
 boolean shouldDisplay(com.atlassian.crowd.embedded.api.User user, com.atlassian.jira.plugin.webfragment.model.JiraHelper jiraHelper)
           
protected  boolean verifyLicense()
           
 
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

AbstractGreenHopperCondition

public AbstractGreenHopperCondition()
Method Detail

shouldDisplay

public boolean shouldDisplay(com.atlassian.crowd.embedded.api.User user,
                             com.atlassian.jira.plugin.webfragment.model.JiraHelper jiraHelper)
Specified by:
shouldDisplay in class com.atlassian.jira.plugin.webfragment.conditions.AbstractJiraCondition

verifyLicense

protected boolean verifyLicense()


Copyright © 2007-2012 Atlassian. All Rights Reserved.