Enum Class BuildTool

java.lang.Object
java.lang.Enum<BuildTool>
io.micronaut.starter.options.BuildTool
All Implemented Interfaces:
Serializable, Comparable<BuildTool>, Constable

public enum BuildTool extends Enum<BuildTool>
  • Enum Constant Details

    • GRADLE

      public static final BuildTool GRADLE
    • GRADLE_KOTLIN

      public static final BuildTool GRADLE_KOTLIN
    • MAVEN

      public static final BuildTool MAVEN
  • Field Details

    • DEFAULT_OPTION

      public static final BuildTool DEFAULT_OPTION
  • Method Details

    • values

      public static BuildTool[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static BuildTool valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getJarDirectory

      public String getJarDirectory()
    • getShadeJarDirectoryPattern

      public String getShadeJarDirectoryPattern(Project project)
    • getBuildFileName

      public String getBuildFileName()
    • toString

      public String toString()
      Overrides:
      toString in class Enum<BuildTool>
    • getName

      @NonNull public @NonNull String getName()
    • isGradle

      public boolean isGradle()
    • getGradleDsl

      public Optional<GradleDsl> getGradleDsl()
    • getTitle

      public String getTitle()
    • valuesGradle

      public static List<BuildTool> valuesGradle()
      Returns:
      Every BuildTool which evaluates to true for isGradle()