|
Forge - Parent 2.0.0-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface VersionRange
A range of versions to which an Addon
may be restricted when building a dependency graph.
Method Summary | |
---|---|
VersionRange |
getIntersection(VersionRange... ranges)
Return the intersection of this VersionRange with the given VersionRange instances (never
null .) |
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()
Return true if this VersionRange contains only one single Version . |
Method Detail |
---|
boolean isEmpty()
true
if this VersionRange
is empty.
boolean isExact()
true
if this VersionRange
contains only one single Version
.
Version getMin()
Version
(never null
.)
Version getMax()
Version
(never null
.)
boolean includes(Version version)
VersionRange
includes the given Version
.
VersionRange getIntersection(VersionRange... ranges)
VersionRange
with the given VersionRange
instances (never
null
.)
|
Forge - Parent 2.0.0-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |