Annotation Interface ConditionalOnPlatformVersion
@Retention(RUNTIME)
@Target({TYPE,METHOD})
@Documented
@Conditional(io.spring.initializr.generator.condition.OnPlatformVersionCondition.class)
public @interface ConditionalOnPlatformVersion
Condition that matches when a generated project is using a matching version of the
platform.
- Author:
- Andy Wilkinson, Stephane Nicoll
-
Required Element Summary
Required Elements
-
Element Details
-
value
String[] valueThe version ranges to check. The condition matches when at least one range matches the platform version.- Returns:
- the version ranges to check
-