Class VersionRange
java.lang.Object
com.atlassian.plugin.internal.util.VersionRange
Represents a version range. Version ranges can be built programmatically or parsed with the
following definition:
| Range | Meaning |
|---|---|
| 1.0 | x >= 1.0 |
| (,1.0] | x <= 1.0 |
| (,1.0) | x < 1.0 |
| [1.0] | x == 1.0 |
| [1.0,) | x >= 1.0 |
| (1.0,) | x > 1.0 |
| (1.0,2.0) | 1.0 < x < 2.0 |
| [1.0,2.0] | 1.0 <= x <= 2.0 |
- Since:
- 3.0
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic VersionRangeall()static VersionRangeempty()or(VersionRange other) static VersionRangestatic VersionRange
-
Method Details
-
or
-
empty
-
all
-
parse
-
single
-
include
-
exclude
-
unbounded
-