java.lang.Object | |
↳ | com.atlassian.bitbucket.web.conditions.IsApplicationVersionCondition |
A Condition which displays based on the Stash version.
Two parameters are required:
operator
param defines the operation to use.version
param defines the version to check against.
Valid operator
s are:
eq
- Displays if the Stash version is equal to the version
paramneq
- Displays if the Stash version is not equal to the version
paramgt
- Displays if the Stash version is greater than the version
paramgte
- Displays if the Stash version is greater than or equal to the version
paramlt
- Displays if the Stash version is less than the version
paramlte
- Displays if the Stash version is less than or equal to the version
param
The following example will show the web fragment if Stash version 2.4 or beyond (2.4.1, 2.5, etc) is running:
<condition class="com.atlassian.bitbucket.web.conditions.IsApplicationVersionCondition">
<param name="operator">gte</param>
<param name="version">2.4</param>
</condition>
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.atlassian.plugin.web.Condition
|
PluginParseException |
---|