Class BuildNumberCondition
java.lang.Object
com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition
com.atlassian.confluence.plugin.descriptor.web.conditions.BuildNumberCondition
- All Implemented Interfaces:
- com.atlassian.plugin.web.api.baseconditions.BaseCondition,- com.atlassian.plugin.web.Condition
Displays the web-item if the Confluence build number is between the 
minBuildNumber and maxBuildNumber
 parameter values. You can omit either parameter to have just a minimum or a maximum.
 If the Confluence build number is not parseable, like during development, the condition will always return true. If either of the parameters are not parseable, then the condition will fail during initialisation.
- Since:
- 3.0
- 
Field SummaryFields inherited from class com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceConditionCONTEXT_KEY_HELPER
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidvoidsetBootstrapManager(BootstrapManager bootstrapManager) voidsetBuildNumberRangeChecker(BuildNumberRangeChecker buildNumberRangeChecker) protected booleanshouldDisplay(WebInterfaceContext context) Methods inherited from class com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceConditionshouldDisplay
- 
Constructor Details- 
BuildNumberConditionpublic BuildNumberCondition()
 
- 
- 
Method Details- 
init- Specified by:
- initin interface- com.atlassian.plugin.web.Condition
- Overrides:
- initin class- BaseConfluenceCondition
 
- 
shouldDisplay- Specified by:
- shouldDisplayin class- BaseConfluenceCondition
 
- 
setBootstrapManager
- 
setBuildNumberRangeChecker
 
-