Enum Class ActivityConstants.TestMode
java.lang.Object
java.lang.Enum<ActivityConstants.TestMode>
de.aristaflow.adept2.model.globals.ActivityConstants.TestMode
- All Implemented Interfaces:
Serializable,Comparable<ActivityConstants.TestMode>,java.lang.constant.Constable
- Enclosing class:
- ActivityConstants
The execution mode of the operation or an activity.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe component does not support any kind of test mode.The component requirers an explicit configuration for testing.The component can operate in a test mode, if required to. -
Method Summary
Modifier and TypeMethodDescriptionintgetCode()static ActivityConstants.TestModevalueOf(int code) Returns the enum constant of this class with the specified name.static ActivityConstants.TestModeReturns the enum constant of this class with the specified name.static ActivityConstants.TestMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NO_TEST
The component does not support any kind of test mode. -
TEST_FLAG
The component can operate in a test mode, if required to. -
TEST_CONFIGURATION
The component requirers an explicit configuration for testing.
-
-
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
-
getCode
public int getCode() -
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:
code- 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
-