Annotation Interface ConditionalOnBuildSystem


@Retention(RUNTIME) @Target({TYPE,METHOD}) @Documented @Conditional(io.spring.initializr.generator.condition.OnBuildSystemCondition.class) public @interface ConditionalOnBuildSystem
Condition that matches when a generated project will use a particular BuildSystem.
Author:
Andy Wilkinson
  • Element Details

    • value

      @AliasFor("id") String value
      The ID of the BuildSystem that should be checked.
      Returns:
      the build system to check. An alias for id().
      Default:
      ""
    • id

      @AliasFor("value") String id
      The ID of the BuildSystem that should be checked.
      Returns:
      the build system to check
      Default:
      ""
    • dialect

      String dialect
      The dialect of the BuildSystem that should be checked. When not specified, any dialect will be matched.
      Returns:
      the dialect to check, if any
      Default:
      ""