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

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

public class NotVersionContextCondition
extends AbstractJiraCondition

This condition specifies that the item should only be displayed if the supplied JiraHelper is not of type VersionHelper i.e. we are not in a Version context.

Since:
v4.0

Constructor Summary
NotVersionContextCondition()
           
 
Method Summary
 boolean shouldDisplay(com.atlassian.crowd.embedded.api.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

NotVersionContextCondition

public NotVersionContextCondition()
Method Detail

shouldDisplay

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


Copyright © 2002-2012 Atlassian. All Rights Reserved.