public abstract class ExactConstraint extends Object implements Constraint
| Constructor and Description |
|---|
ExactConstraint() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Version |
getVersion() |
boolean |
isAcceptable(Version version) |
static ExactConstraint |
of(Version version) |
protected abstract Version getVersion()
public boolean isAcceptable(Version version)
isAcceptable in interface ConstraintVersion is allowed by this constraint.public static ExactConstraint of(Version version)