public class Restriction extends Object
Modifier and Type | Field and Description |
---|---|
static Restriction |
EVERYTHING |
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 static final Restriction EVERYTHING
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.