public static enum VersionPackageConstraint.VersionComparison extends java.lang.Enum<VersionPackageConstraint.VersionComparison>
Enum Constant and Description |
---|
EQUAL |
GREATERTHAN |
GREATERTHANOREQUAL |
LESSTHAN |
LESSTHANOREQUAL |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
static VersionPackageConstraint.VersionComparison |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static VersionPackageConstraint.VersionComparison[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VersionPackageConstraint.VersionComparison EQUAL
public static final VersionPackageConstraint.VersionComparison GREATERTHAN
public static final VersionPackageConstraint.VersionComparison GREATERTHANOREQUAL
public static final VersionPackageConstraint.VersionComparison LESSTHAN
public static final VersionPackageConstraint.VersionComparison LESSTHANOREQUAL
public static VersionPackageConstraint.VersionComparison[] values()
for (VersionPackageConstraint.VersionComparison c : VersionPackageConstraint.VersionComparison.values()) System.out.println(c);
public static VersionPackageConstraint.VersionComparison valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<VersionPackageConstraint.VersionComparison>