Package org.codehaus.modello.model
Class VersionRange
- java.lang.Object
-
- org.codehaus.modello.model.VersionRange
-
public class VersionRange extends Object
A version range. Can be of 3 forms:x.y.z
: a range of only one precise version,x.y.z+
: a range starting form a precise version (included), without upper limit,x.y.z/i.j.k
: a range from one version to another (both included).
- Author:
- Emmanuel Venisse
-
-
Constructor Summary
Constructors Constructor Description VersionRange(String versionRange)
VersionRange(Version version)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Version
getFromVersion()
Version
getToVersion()
int
hashCode()
boolean
isToInfinite()
String
toString()
-