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
    Modifier and Type
    Required Element
    Description
    The version ranges to check.
  • Element Details

    • value

      String[] value
      The version ranges to check. The condition matches when at least one range matches the platform version.
      Returns:
      the version ranges to check