Class HasPlansToCloneCondition
java.lang.Object
com.atlassian.bamboo.plugins.web.conditions.HasPlansToCloneCondition
- All Implemented Interfaces:
com.atlassian.plugin.web.api.baseconditions.BaseCondition
,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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
setCachedPlanManager
(CachedPlanManager cachedPlanManager) boolean
shouldDisplay
(Map<String, Object> context)
-
Constructor Details
-
HasPlansToCloneCondition
public HasPlansToCloneCondition()
-
-
Method Details
-
init
- Specified by:
init
in interfacecom.atlassian.plugin.web.Condition
- Throws:
com.atlassian.plugin.PluginParseException
-
shouldDisplay
- Specified by:
shouldDisplay
in interfacecom.atlassian.plugin.web.Condition
-
setCachedPlanManager
-