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
    Modifier and Type
    Class
    Description
    static enum 
    Range options.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The JavaVersion to check for.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Configures whether the value configured in value() shall be considered the upper exclusive or lower inclusive boundary.