Class Restriction
java.lang.Object
org.apache.maven.artifact.versioning.Restriction
Describes a restriction in versioning.
- Author:
- Brett Porter
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRestriction(ArtifactVersion lowerBound, boolean lowerBoundInclusive, ArtifactVersion upperBound, boolean upperBoundInclusive) -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsVersion(ArtifactVersion version) booleaninthashCode()booleanbooleantoString()
-
Field Details
-
EVERYTHING
-
-
Constructor Details
-
Restriction
public Restriction(ArtifactVersion lowerBound, boolean lowerBoundInclusive, ArtifactVersion upperBound, boolean upperBoundInclusive)
-
-
Method Details
-
getLowerBound
-
isLowerBoundInclusive
public boolean isLowerBoundInclusive() -
getUpperBound
-
isUpperBoundInclusive
public boolean isUpperBoundInclusive() -
containsVersion
-
hashCode
public int hashCode() -
equals
-
toString
-