public class BuildNumberUrlReadingCondition extends Object implements com.atlassian.plugin.webresource.condition.UrlReadingCondition
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.
| Constructor and Description |
|---|
BuildNumberUrlReadingCondition(BootstrapManager bootstrapManager,
BuildNumberRangeChecker buildNumberRangeChecker) |
| Modifier and Type | Method and Description |
|---|---|
void |
addToUrl(com.atlassian.plugin.webresource.url.UrlBuilder urlBuilder) |
void |
init(Map<String,String> params) |
boolean |
shouldDisplay(com.atlassian.plugin.webresource.QueryParams params) |
public BuildNumberUrlReadingCondition(BootstrapManager bootstrapManager, BuildNumberRangeChecker buildNumberRangeChecker)
public void init(Map<String,String> params)
init in interface com.atlassian.plugin.webresource.condition.UrlReadingConditionpublic void addToUrl(com.atlassian.plugin.webresource.url.UrlBuilder urlBuilder)
addToUrl in interface com.atlassian.plugin.webresource.condition.UrlReadingConditionpublic boolean shouldDisplay(com.atlassian.plugin.webresource.QueryParams params)
shouldDisplay in interface com.atlassian.plugin.webresource.condition.UrlReadingConditionCopyright © 2003–2019 Atlassian. All rights reserved.