org.apache.maven.artifact.versioning
Class Restriction
java.lang.Object
org.apache.maven.artifact.versioning.Restriction
public class Restriction
- extends Object
Describes a restriction in versioning.
- Version:
- $Id: Restriction.java 219815 2005-07-19 23:45:44Z brett $
- Author:
- Brett Porter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Restriction
public Restriction(ArtifactVersion lowerBound,
boolean lowerBoundInclusive,
ArtifactVersion upperBound,
boolean upperBoundInclusive)
getLowerBound
public ArtifactVersion getLowerBound()
isLowerBoundInclusive
public boolean isLowerBoundInclusive()
getUpperBound
public ArtifactVersion getUpperBound()
isUpperBoundInclusive
public boolean isUpperBoundInclusive()
containsVersion
public boolean containsVersion(ArtifactVersion version)
Copyright © 2001-2010 Apache Software Foundation. All Rights Reserved.