Class NonFinalVersionCondition
- java.lang.Object
-
- com.atlassian.bamboo.plugins.web.conditions.NonFinalVersionCondition
-
- All Implemented Interfaces:
com.atlassian.plugin.web.baseconditions.BaseCondition,com.atlassian.plugin.web.Condition
public class NonFinalVersionCondition extends Object implements 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
Constructors Constructor Description NonFinalVersionCondition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinit(Map<String,String> params)booleanshouldDisplay(Map<String,Object> context)
-