com.pyxis.greenhopper.jira.conditions
Class OnDemandCondition

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

public class OnDemandCondition
extends java.lang.Object
implements com.atlassian.plugin.web.Condition

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


Constructor Summary
OnDemandCondition()
           
 
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

OnDemandCondition

public OnDemandCondition()
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
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


Copyright © 2007-2012 Atlassian. All Rights Reserved.