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

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

public class HasVersionsReleasedCondition
extends AbstractHasVersionsCondition

Checks if there are any released versions for the selected project.

By default, archived versions are not included. This can be changed by mapping "includedArchived" to "true" in the params passed in to AbstractHasVersionsCondition.init(java.util.Map params)


Field Summary
 
Fields inherited from class com.atlassian.jira.plugin.webfragment.conditions.AbstractHasVersionsCondition
includeArchived
 
Constructor Summary
HasVersionsReleasedCondition(VersionManager versionManager)
           
 
Method Summary
 boolean shouldDisplay(com.opensymphony.user.User user, JiraHelper jiraHelper)
           
 
Methods inherited from class com.atlassian.jira.plugin.webfragment.conditions.AbstractHasVersionsCondition
init
 
Methods inherited from class com.atlassian.jira.plugin.webfragment.conditions.AbstractJiraCondition
shouldDisplay
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HasVersionsReleasedCondition

public HasVersionsReleasedCondition(VersionManager versionManager)
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.