com.pyxis.greenhopper.jira.conditions
Class NotOnDemandCondition

java.lang.Object
  extended by com.pyxis.greenhopper.jira.conditions.OnDemandCondition
      extended by com.pyxis.greenhopper.jira.conditions.NotOnDemandCondition
All Implemented Interfaces:
com.atlassian.plugin.web.Condition

public class NotOnDemandCondition
extends OnDemandCondition

Condition for things to be displayed only when we are NOT in the OnDemand world e.g. the menu item for the License Details admin page.


Constructor Summary
NotOnDemandCondition()
           
 
Method Summary
 void init(java.util.Map<java.lang.String,java.lang.String> stringStringMap)
           
 boolean shouldDisplay(java.util.Map<java.lang.String,java.lang.Object> stringObjectMap)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotOnDemandCondition

public NotOnDemandCondition()
Method Detail

init

public void init(java.util.Map<java.lang.String,java.lang.String> stringStringMap)
          throws com.atlassian.plugin.PluginParseException
Specified by:
init in interface com.atlassian.plugin.web.Condition
Overrides:
init in class OnDemandCondition
Throws:
com.atlassian.plugin.PluginParseException

shouldDisplay

public boolean shouldDisplay(java.util.Map<java.lang.String,java.lang.Object> stringObjectMap)
Specified by:
shouldDisplay in interface com.atlassian.plugin.web.Condition
Overrides:
shouldDisplay in class OnDemandCondition


Copyright © 2007-2012 Atlassian. All Rights Reserved.