Annotation Interface ConditionalOnJava
@Target({TYPE,METHOD})
@Retention(RUNTIME)
@Documented
@Conditional(org.springframework.boot.autoconfigure.condition.OnJavaCondition.class)
public @interface ConditionalOnJava
@Conditional that matches based on the JVM version the application
 is running on.- Since:
 - 1.1.0
 - Author:
 - Oliver Gierke, Phillip Webb, Andy Wilkinson
 
- 
Nested Class Summary
Nested Classes - 
Required Element Summary
Required Elements - 
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionConfigures whether the value configured invalue()shall be considered the upper exclusive or lower inclusive boundary. 
- 
Element Details
- 
value
JavaVersion valueTheJavaVersionto check for. Userange()to specify whether the configured value is an upper-exclusive or lower-inclusive boundary.- Returns:
 - the java version
 
 
 - 
 - 
- 
range
ConditionalOnJava.Range rangeConfigures whether the value configured invalue()shall be considered the upper exclusive or lower inclusive boundary. Defaults toConditionalOnJava.Range.EQUAL_OR_NEWER.- Returns:
 - the range
 
- Default:
 - EQUAL_OR_NEWER
 
 
 -