public static enum ConditionalOnJava.Range extends Enum<ConditionalOnJava.Range>
| Enum Constant and Description |
|---|
EQUAL_OR_NEWER
Equal to, or newer than the specified
ConditionalOnJava.JavaVersion. |
OLDER_THAN
Older than the specified
ConditionalOnJava.JavaVersion. |
| Modifier and Type | Method and Description |
|---|---|
static ConditionalOnJava.Range |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConditionalOnJava.Range[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConditionalOnJava.Range EQUAL_OR_NEWER
ConditionalOnJava.JavaVersion.public static final ConditionalOnJava.Range OLDER_THAN
ConditionalOnJava.JavaVersion.public static ConditionalOnJava.Range[] values()
for (ConditionalOnJava.Range c : ConditionalOnJava.Range.values()) System.out.println(c);
public static ConditionalOnJava.Range 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 nullCopyright © 2014 Pivotal Software, Inc.. All rights reserved.