Class NonFinalVersionCondition
java.lang.Object
com.atlassian.bamboo.plugins.web.conditions.NonFinalVersionCondition
- All Implemented Interfaces:
com.atlassian.plugin.web.api.baseconditions.BaseCondition
,com.atlassian.plugin.web.Condition
Prevents display of web content for final Bamboo versions.
Non final versions are detected by checking for presence of
- SNAPSHOT
- i
- beta
- rc
- m
in the version string.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
NonFinalVersionCondition
public NonFinalVersionCondition()
-
-
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
-