Enum Class ScriptRunConfiguration.RunKind
java.lang.Object
java.lang.Enum<ScriptRunConfiguration.RunKind>
com.blamejared.crafttweaker.api.zencode.scriptrun.ScriptRunConfiguration.RunKind
- All Implemented Interfaces:
Serializable,Comparable<ScriptRunConfiguration.RunKind>,Constable
- Enclosing class:
ScriptRunConfiguration
Indicates the kind of run that the
IScriptRun will perform.- Since:
- 9.1.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIndicates that all scripts will be run and the various actions will be applied.Indicates that no script will be executed, but an automatic formatter will be applied, bringing them in line with the suggested coding style.Indicates that all scripts will be run and the various actions will be applied.Indicates that the scripts will not be executed, rather only their syntax will be checked. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static ScriptRunConfiguration.RunKind[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SYNTAX_CHECK
Indicates that the scripts will not be executed, rather only their syntax will be checked.- Since:
- 9.1.0
-
FORMAT
Indicates that no script will be executed, but an automatic formatter will be applied, bringing them in line with the suggested coding style.- Since:
- 9.1.0
-
EXECUTE
Indicates that all scripts will be run and the various actions will be applied.- Since:
- 9.1.0
-
GAME_TEST
Indicates that all scripts will be run and the various actions will be applied.Should only be used for game test scripts.
- Since:
- 9.1.0
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-