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

java.lang.Object
  extended by com.atlassian.jira.plugin.webfragment.conditions.AbstractJiraCondition
      extended by com.atlassian.jira.plugin.webfragment.conditions.AbstractJiraLicenseCondition
All Implemented Interfaces:
com.atlassian.plugin.web.Condition
Direct Known Subclasses:
EnterpriseJiraLicenseCondition, ProfessionalOrEnterpriseJiraLicenseCondition

public abstract class AbstractJiraLicenseCondition
extends AbstractJiraCondition

Convenient abstraction to initialise conditions that checks if the jira license is of a specific level


Field Summary
protected static Collection ENTERPRISE_LEVEL
           
protected static Collection PROFESSIONAL_LEVEL
           
 
Constructor Summary
AbstractJiraLicenseCondition()
           
 
Method Summary
 boolean shouldDisplay(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

PROFESSIONAL_LEVEL

protected static Collection PROFESSIONAL_LEVEL

ENTERPRISE_LEVEL

protected static Collection ENTERPRISE_LEVEL
Constructor Detail

AbstractJiraLicenseCondition

public AbstractJiraLicenseCondition()
Method Detail

shouldDisplay

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


Copyright © 2002-2007 Atlassian. All Rights Reserved.