Enum ScriptTaskDetails.Interpreter
- java.lang.Object
-
- java.lang.Enum<ScriptTaskDetails.Interpreter>
-
- com.atlassian.bamboo.testutils.model.task.ScriptTaskDetails.Interpreter
-
- All Implemented Interfaces:
Serializable
,Comparable<ScriptTaskDetails.Interpreter>
- Enclosing class:
- ScriptTaskDetails
public static enum ScriptTaskDetails.Interpreter extends Enum<ScriptTaskDetails.Interpreter>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LEGACY_SH_BAT
Deprecated.since 5.13 use other enum values insteadPOWERSHELL
RUN_AS_EXECUTABLE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ScriptTaskDetails.Interpreter
valueOf(String name)
Returns the enum constant of this type with the specified name.static ScriptTaskDetails.Interpreter[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RUN_AS_EXECUTABLE
public static final ScriptTaskDetails.Interpreter RUN_AS_EXECUTABLE
-
POWERSHELL
public static final ScriptTaskDetails.Interpreter POWERSHELL
-
LEGACY_SH_BAT
@Deprecated public static final ScriptTaskDetails.Interpreter LEGACY_SH_BAT
Deprecated.since 5.13 use other enum values instead
-
-
Method Detail
-
values
public static ScriptTaskDetails.Interpreter[] 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 (ScriptTaskDetails.Interpreter c : ScriptTaskDetails.Interpreter.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ScriptTaskDetails.Interpreter 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
-
-