public static enum ConditionalOnJava.Range extends Enum<ConditionalOnJava.Range>
Enum Constant and Description |
---|
EQUAL_OR_NEWER
Equal to, or newer than the specified
JavaVersion . |
OLDER_THAN
Older than the specified
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
JavaVersion
.public static final ConditionalOnJava.Range OLDER_THAN
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 © 2021 Pivotal Software, Inc.. All rights reserved.