Package io.quarkus.devtools.testing
Enum WrapperRunner.Wrapper
- java.lang.Object
-
- java.lang.Enum<WrapperRunner.Wrapper>
-
- io.quarkus.devtools.testing.WrapperRunner.Wrapper
-
- All Implemented Interfaces:
Serializable,Comparable<WrapperRunner.Wrapper>
- Enclosing class:
- WrapperRunner
public static enum WrapperRunner.Wrapper extends Enum<WrapperRunner.Wrapper>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WrapperRunner.Wrapperdetect(Path projectDir)static WrapperRunner.WrapperfromBuildtool(String buildtool)String[]getCmdArgs()StringgetExec()static WrapperRunner.WrappervalueOf(String name)Returns the enum constant of this type with the specified name.static WrapperRunner.Wrapper[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GRADLE
public static final WrapperRunner.Wrapper GRADLE
-
MAVEN
public static final WrapperRunner.Wrapper MAVEN
-
-
Method Detail
-
values
public static WrapperRunner.Wrapper[] 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 (WrapperRunner.Wrapper c : WrapperRunner.Wrapper.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WrapperRunner.Wrapper 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
-
getExec
public String getExec()
-
getCmdArgs
public String[] getCmdArgs()
-
fromBuildtool
public static WrapperRunner.Wrapper fromBuildtool(String buildtool)
-
detect
public static WrapperRunner.Wrapper detect(Path projectDir)
-
-