Enum Class PrecedenceMode
- All Implemented Interfaces:
Serializable,Comparable<PrecedenceMode>,Constable
Decides which rules should be evaluated first, which skipped.
- Author:
- Damian Szczepanik (damianszczepanik@github)
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionUse only global configuration, ignores others.Use global configuration, then job level configuration.Use only job level configuration, ignores others.Use job level configuration, then global configuration. -
Method Summary
Modifier and TypeMethodDescriptionstatic PrecedenceModeReturns the enum constant of this class with the specified name.static PrecedenceMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
JOB_ONLY
Use only job level configuration, ignores others. Default option, should be first on the list. -
GLOBAL_ONLY
Use only global configuration, ignores others. -
GLOBAL_THEN_JOB
Use global configuration, then job level configuration. -
JOB_THEN_GLOBAL
Use job level configuration, then global configuration.
-
-
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
-