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 java.util.Collection ENTERPRISE_LEVEL
          Deprecated. since 4.0
protected static java.util.Collection PROFESSIONAL_LEVEL
          Deprecated. since 4.0
 
Constructor Summary
AbstractJiraLicenseCondition()
           
 
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

ENTERPRISE_LEVEL

protected static java.util.Collection ENTERPRISE_LEVEL
Deprecated. since 4.0

PROFESSIONAL_LEVEL

protected static java.util.Collection PROFESSIONAL_LEVEL
Deprecated. since 4.0
Constructor Detail

AbstractJiraLicenseCondition

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