info.magnolia.module.model
Class VersionRange

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

public class VersionRange
extends java.lang.Object

Module dependencies can use a range syntax for versions.

Version:
$Revision: $ ($Author: $)
Author:
gjoseph
See Also:
for examples.

Constructor Summary
VersionRange(java.lang.String input)
           
VersionRange(Version from, Version to)
           
 
Method Summary
 boolean contains(Version other)
           
 Version getFrom()
           
 Version getTo()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VersionRange

public VersionRange(java.lang.String input)

VersionRange

public VersionRange(Version from,
                    Version to)
Method Detail

getFrom

public Version getFrom()

getTo

public Version getTo()

contains

public boolean contains(Version other)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


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