Enum Class ActivityConstants.LocallyOverrideableActivityAttribute
java.lang.Object
java.lang.Enum<ActivityConstants.LocallyOverrideableActivityAttribute>
de.aristaflow.adept2.model.globals.ActivityConstants.LocallyOverrideableActivityAttribute
- All Implemented Interfaces:
Serializable,Comparable<ActivityConstants.LocallyOverrideableActivityAttribute>,java.lang.constant.Constable
- Enclosing class:
- ActivityConstants
public static enum ActivityConstants.LocallyOverrideableActivityAttribute
extends Enum<ActivityConstants.LocallyOverrideableActivityAttribute>
All attributes of the activity model that may be overridden locally at
runtime.
- Author:
- Ulrich Kreher
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionbytegetCode()Returns a byte code representing this activity model attribute.static Map<ActivityConstants.LocallyOverrideableActivityAttribute,ActivityConstants.ActivityModelEntityType> valueOf(byte code) Returns the state for the given code ornullif the code is not recognised.Returns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
IMPLEMENTATION_CLASS
-
CLASS_LOADER_USAGE
-
SYSTEM_COMPONENT
-
GUI_CONTEXT_ID
-
EXECUTION_CONTROL_PROPERTIES
public static final ActivityConstants.LocallyOverrideableActivityAttribute EXECUTION_CONTROL_PROPERTIES -
ICON_ID
-
DESCRIPTION
-
SUPPORTS_VIEW_ONLY
-
SUPPORTS_TEST_EXECUTION
-
-
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 byte getCode()Returns a byte code representing this activity model attribute. This code is resilient to reordering or renaming the enum constants.- Returns:
- a byte code representing this activity model attribute
-
getDefaultOrigins
public static Map<ActivityConstants.LocallyOverrideableActivityAttribute,ActivityConstants.ActivityModelEntityType> getDefaultOrigins()- Returns:
- The default attribute origins map.
-
valueOf
Returns the state for the given code ornullif the code is not recognised.- Parameters:
code- the code for which to find the activity model attribute- Returns:
- the activity model attribute for the given code
-