public class Restriction extends Object
Constructor and Description |
---|
Restriction(ArtifactVersion lowerBound,
boolean lowerBoundInclusive,
ArtifactVersion upperBound,
boolean upperBoundInclusive) |
Modifier and Type | Method and Description |
---|---|
boolean |
containsVersion(ArtifactVersion version) |
boolean |
equals(Object other) |
ArtifactVersion |
getLowerBound() |
ArtifactVersion |
getUpperBound() |
int |
hashCode() |
boolean |
isLowerBoundInclusive() |
boolean |
isUpperBoundInclusive() |
String |
toString() |
public Restriction(ArtifactVersion lowerBound, boolean lowerBoundInclusive, ArtifactVersion upperBound, boolean upperBoundInclusive)
public ArtifactVersion getLowerBound()
public boolean isLowerBoundInclusive()
public ArtifactVersion getUpperBound()
public boolean isUpperBoundInclusive()
public boolean containsVersion(ArtifactVersion version)
Copyright © 2001-2014 The Apache Software Foundation. All Rights Reserved.