@Target(value={TYPE,METHOD}) @Retention(value=RUNTIME) @Documented public @interface ConditionalOnJava
Conditional
that matches based on the JVM version the application is running
on.Modifier and Type | Required Element and Description |
---|---|
ConditionalOnJava.JavaVersion |
value
The
ConditionalOnJava.JavaVersion to check for. |
Modifier and Type | Optional Element and Description |
---|---|
ConditionalOnJava.Range |
range
Configures whether the value configured in
value() shall be considered the
upper exclusive or lower inclusive boundary. |
public abstract ConditionalOnJava.JavaVersion value
ConditionalOnJava.JavaVersion
to check for. Use range()
to specify whether the
configured value is an upper-exclusive or lower-inclusive boundary.public abstract ConditionalOnJava.Range range
value()
shall be considered the
upper exclusive or lower inclusive boundary. Defaults to
ConditionalOnJava.Range.EQUAL_OR_NEWER
.Copyright © 2015 Pivotal Software, Inc.. All rights reserved.