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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidsetCachedPlanManager(CachedPlanManager cachedPlanManager) booleanshouldDisplay(Map<String, Object> context)
-
Constructor Details
-
HasPlansToCloneCondition
public HasPlansToCloneCondition()
-
-
Method Details
-
init
- Specified by:
initin interfacecom.atlassian.plugin.web.Condition- Throws:
com.atlassian.plugin.PluginParseException
-
shouldDisplay
- Specified by:
shouldDisplayin interfacecom.atlassian.plugin.web.Condition
-
setCachedPlanManager
-