public static enum VersionPredicate.Type extends Enum<VersionPredicate.Type>
| Enum Constant and Description |
|---|
ANY |
EQUALS |
GREATER_THAN |
GREATER_THAN_OR_EQUAL |
LESSER_THAN |
LESSER_THAN_OR_EQUAL |
SAME_MAJOR |
SAME_MAJOR_AND_MINOR |
| Modifier and Type | Method and Description |
|---|---|
String |
describe(String version) |
String |
prefix() |
static VersionPredicate.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VersionPredicate.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VersionPredicate.Type ANY
public static final VersionPredicate.Type EQUALS
public static final VersionPredicate.Type GREATER_THAN
public static final VersionPredicate.Type LESSER_THAN
public static final VersionPredicate.Type GREATER_THAN_OR_EQUAL
public static final VersionPredicate.Type LESSER_THAN_OR_EQUAL
public static final VersionPredicate.Type SAME_MAJOR
public static final VersionPredicate.Type SAME_MAJOR_AND_MINOR
public static VersionPredicate.Type[] values()
for (VersionPredicate.Type c : VersionPredicate.Type.values()) System.out.println(c);
public static VersionPredicate.Type valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String prefix()