com.atlassian.bamboo.plugins.web.conditions
Class HasPlansToCloneCondition

java.lang.Object
  extended by com.atlassian.bamboo.plugins.web.conditions.HasPlansToCloneCondition
All Implemented Interfaces:
com.atlassian.plugin.web.Condition

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

Displays a web item or web section only if plans are available to the current user to be cloned.


Constructor Summary
HasPlansToCloneCondition()
           
 
Method Summary
 void init(java.util.Map<java.lang.String,java.lang.String> params)
           
 void setCachedPlanManager(CachedPlanManager cachedPlanManager)
           
 boolean shouldDisplay(java.util.Map<java.lang.String,java.lang.Object> context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HasPlansToCloneCondition

public HasPlansToCloneCondition()
Method Detail

init

public void init(java.util.Map<java.lang.String,java.lang.String> params)
          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> context)
Specified by:
shouldDisplay in interface com.atlassian.plugin.web.Condition

setCachedPlanManager

public void setCachedPlanManager(CachedPlanManager cachedPlanManager)


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.