info.magnolia.module.model
Class VersionRange

java.lang.Object
  extended by info.magnolia.module.model.VersionRange

public class VersionRange
extends Object

Module dependencies can use a range syntax for versions. Supports the following syntaxes

See Also:
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

VersionRange

public VersionRange(String input)
Deprecated. since 5.0.2 use parse(String) instead - should not be public.


VersionRange

public VersionRange(Version from,
                    Version to)
Deprecated. should not be public - since 5.0.2

Method Detail

parse

public static VersionRange parse(String input)

getFrom

public Version getFrom()
Deprecated. should not be public - since 5.0.2


getTo

public Version getTo()
Deprecated. should not be public - since 5.0.2


contains

public boolean contains(Version other)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2003-2014 Magnolia International Ltd.. All Rights Reserved.