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.

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

Constructor Summary
VersionRange(String rangeDef)
           
VersionRange(Version from, Version to)
           
 
Method Summary
 boolean contains(Version other)
           
 Version getFrom()
           
 Version getTo()
           
 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 rangeDef)

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 String toString()
Overrides:
toString in class Object


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