|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.module.model.VersionRange
public class VersionRange
Module dependencies can use a range syntax for versions. Supports the following syntaxes
for examples.
Constructor Summary | |
---|---|
VersionRange(String input)
Deprecated. since 5.0.2 use parse(String) instead - should not be public. |
|
VersionRange(Version from,
Version to)
Deprecated. should not be public - since 5.0.2 |
Method Summary | |
---|---|
boolean |
contains(Version other)
|
Version |
getFrom()
Deprecated. should not be public - since 5.0.2 |
Version |
getTo()
Deprecated. should not be public - since 5.0.2 |
static VersionRange |
parse(String input)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public VersionRange(String input)
parse(String)
instead - should not be public.
public VersionRange(Version from, Version to)
Method Detail |
---|
public static VersionRange parse(String input)
public Version getFrom()
public Version getTo()
public boolean contains(Version other)
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |