Enum ActivityConstants.LocallyOverrideableActivityAttribute
- java.lang.Object
-
- java.lang.Enum<ActivityConstants.LocallyOverrideableActivityAttribute>
-
- de.aristaflow.adept2.model.globals.ActivityConstants.LocallyOverrideableActivityAttribute
-
- All Implemented Interfaces:
Serializable
,Comparable<ActivityConstants.LocallyOverrideableActivityAttribute>
- 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
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLASS_LOADER_USAGE
DESCRIPTION
EXECUTION_CONTROL_PROPERTIES
GUI_CONTEXT_ID
ICON_ID
IMPLEMENTATION_CLASS
SUPPORTS_TEST_EXECUTION
SUPPORTS_VIEW_ONLY
SYSTEM_COMPONENT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description byte
getCode()
Returns a byte code representing this activity model attribute.static Map<ActivityConstants.LocallyOverrideableActivityAttribute,ActivityConstants.ActivityModelEntityType>
getDefaultOrigins()
static ActivityConstants.LocallyOverrideableActivityAttribute
valueOf(byte code)
Returns the state for the given code ornull
if the code is not recognised.static ActivityConstants.LocallyOverrideableActivityAttribute
valueOf(String name)
Returns the enum constant of this type with the specified name.static ActivityConstants.LocallyOverrideableActivityAttribute[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IMPLEMENTATION_CLASS
public static final ActivityConstants.LocallyOverrideableActivityAttribute IMPLEMENTATION_CLASS
-
CLASS_LOADER_USAGE
public static final ActivityConstants.LocallyOverrideableActivityAttribute CLASS_LOADER_USAGE
-
SYSTEM_COMPONENT
public static final ActivityConstants.LocallyOverrideableActivityAttribute SYSTEM_COMPONENT
-
GUI_CONTEXT_ID
public static final ActivityConstants.LocallyOverrideableActivityAttribute GUI_CONTEXT_ID
-
EXECUTION_CONTROL_PROPERTIES
public static final ActivityConstants.LocallyOverrideableActivityAttribute EXECUTION_CONTROL_PROPERTIES
-
ICON_ID
public static final ActivityConstants.LocallyOverrideableActivityAttribute ICON_ID
-
DESCRIPTION
public static final ActivityConstants.LocallyOverrideableActivityAttribute DESCRIPTION
-
SUPPORTS_VIEW_ONLY
public static final ActivityConstants.LocallyOverrideableActivityAttribute SUPPORTS_VIEW_ONLY
-
SUPPORTS_TEST_EXECUTION
public static final ActivityConstants.LocallyOverrideableActivityAttribute SUPPORTS_TEST_EXECUTION
-
-
Method Detail
-
values
public static ActivityConstants.LocallyOverrideableActivityAttribute[] 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 (ActivityConstants.LocallyOverrideableActivityAttribute c : ActivityConstants.LocallyOverrideableActivityAttribute.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ActivityConstants.LocallyOverrideableActivityAttribute 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
-
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
public static ActivityConstants.LocallyOverrideableActivityAttribute valueOf(byte code)
Returns the state for the given code ornull
if 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
-
-