public static enum ConditionalOnJava.JavaVersion extends Enum<ConditionalOnJava.JavaVersion>
| Enum Constant and Description | 
|---|
| EIGHTJava 1.8. | 
| NINEJava 1.9. | 
| SEVENJava 1.7. | 
| SIXJava 1.6. | 
| Modifier and Type | Method and Description | 
|---|---|
| static ConditionalOnJava.JavaVersion | getJavaVersion()Returns the  ConditionalOnJava.JavaVersionof the current runtime. | 
| boolean | isWithin(ConditionalOnJava.Range range,
        ConditionalOnJava.JavaVersion version)Determines if this version is within the specified range of versions. | 
| String | toString() | 
| static ConditionalOnJava.JavaVersion | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static ConditionalOnJava.JavaVersion[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final ConditionalOnJava.JavaVersion NINE
public static final ConditionalOnJava.JavaVersion EIGHT
public static final ConditionalOnJava.JavaVersion SEVEN
public static final ConditionalOnJava.JavaVersion SIX
public static ConditionalOnJava.JavaVersion[] values()
for (ConditionalOnJava.JavaVersion c : ConditionalOnJava.JavaVersion.values()) System.out.println(c);
public static ConditionalOnJava.JavaVersion 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 boolean isWithin(ConditionalOnJava.Range range, ConditionalOnJava.JavaVersion version)
range - the rangeversion - the bounds of the rangepublic String toString()
toString in class Enum<ConditionalOnJava.JavaVersion>public static ConditionalOnJava.JavaVersion getJavaVersion()
ConditionalOnJava.JavaVersion of the current runtime.ConditionalOnJava.JavaVersionCopyright © 2018 Pivotal Software, Inc.. All rights reserved.