Package io.quarkus.bootstrap.utils
Enum BuildToolHelper.BuildTool
- java.lang.Object
-
- java.lang.Enum<BuildToolHelper.BuildTool>
-
- io.quarkus.bootstrap.utils.BuildToolHelper.BuildTool
-
- All Implemented Interfaces:
Serializable,Comparable<BuildToolHelper.BuildTool>
- Enclosing class:
- BuildToolHelper
public static enum BuildToolHelper.BuildTool extends Enum<BuildToolHelper.BuildTool>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanexists(Path root)String[]getBuildFiles()static BuildToolHelper.BuildToolvalueOf(String name)Returns the enum constant of this type with the specified name.static BuildToolHelper.BuildTool[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MAVEN
public static final BuildToolHelper.BuildTool MAVEN
-
GRADLE
public static final BuildToolHelper.BuildTool GRADLE
-
-
Method Detail
-
values
public static BuildToolHelper.BuildTool[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BuildToolHelper.BuildTool c : BuildToolHelper.BuildTool.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BuildToolHelper.BuildTool valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
getBuildFiles
public String[] getBuildFiles()
-
exists
public boolean exists(Path root)
-
-