Class HasPlansToCloneCondition
- java.lang.Object
-
- com.atlassian.bamboo.plugins.web.conditions.HasPlansToCloneCondition
-
- All Implemented Interfaces:
com.atlassian.plugin.web.baseconditions.BaseCondition
,com.atlassian.plugin.web.Condition
public class HasPlansToCloneCondition extends 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
Constructors Constructor Description HasPlansToCloneCondition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
init(Map<String,String> params)
void
setCachedPlanManager(CachedPlanManager cachedPlanManager)
boolean
shouldDisplay(Map<String,Object> context)
-
-
-
Method Detail
-
init
public void init(Map<String,String> params) throws com.atlassian.plugin.PluginParseException
- Specified by:
init
in interfacecom.atlassian.plugin.web.Condition
- Throws:
com.atlassian.plugin.PluginParseException
-
shouldDisplay
public boolean shouldDisplay(Map<String,Object> context)
- Specified by:
shouldDisplay
in interfacecom.atlassian.plugin.web.Condition
-
setCachedPlanManager
public void setCachedPlanManager(CachedPlanManager cachedPlanManager)
-
-