public interface VersionRange
Addon may be restricted when building a dependency graph.| Modifier and Type | Method and Description |
|---|---|
VersionRange |
getIntersection(VersionRange... ranges)
|
Version |
getMax()
Get the maximum
Version (never null.) |
Version |
getMin()
Get the minimum
Version (never null.) |
boolean |
includes(Version version)
Return true if this
VersionRange includes the given Version. |
boolean |
isEmpty()
Return
true if this VersionRange is empty. |
boolean |
isExact()
|
boolean |
isMaxInclusive()
Return
true if getMax() is inclusive. |
boolean |
isMinInclusive()
Return
true if getMin() is inclusive. |
boolean isEmpty()
true if this VersionRange is empty.boolean isExact()
boolean includes(Version version)
VersionRange includes the given Version.VersionRange getIntersection(VersionRange... ranges)
boolean isMaxInclusive()
true if getMax() is inclusive.boolean isMinInclusive()
true if getMin() is inclusive.Copyright © 2014 JBoss by Red Hat. All rights reserved.