org.apache.maven.mercury.artifact.version
Interface VersionRange

All Superinterfaces:
Configurable

public interface VersionRange
extends Configurable

interface to the version range processor. To be implemented for various syntaxes/interpreters

Version:
$Id: VersionRange.java 744245 2009-02-13 21:23:44Z hboutemy $
Author:
Oleg Gusakov

Method Summary
 boolean includes(java.lang.String version)
          returns true if the supplied version fits into the range
 boolean isSingleton()
           
 
Methods inherited from interface org.apache.maven.mercury.artifact.api.Configurable
setOption
 

Method Detail

includes

boolean includes(java.lang.String version)
returns true if the supplied version fits into the range

Parameters:
version - to test
Returns:

isSingleton

boolean isSingleton()
Returns:
true if the range is good old single version, not a true range


Copyright © 2002-2011 Apache Software Foundation. All Rights Reserved.