Class Restriction
java.lang.Object
org.apache.maven.artifact.versioning.Restriction
Describes a restriction in versioning.
- Author:
- Brett Porter
-
Field Summary
-
Constructor Summary
ConstructorDescriptionRestriction
(ArtifactVersion lowerBound, boolean lowerBoundInclusive, ArtifactVersion upperBound, boolean upperBoundInclusive) -
Method Summary
Modifier and TypeMethodDescriptionboolean
containsVersion
(ArtifactVersion version) boolean
int
hashCode()
boolean
boolean
toString()
-
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
-