Class ActivityConstants
- java.lang.Object
-
- de.aristaflow.adept2.model.globals.ActivityConstants
-
public class ActivityConstants extends Object
Shared constants for activities and activity templates.- Author:
- Kevin Goeser
- See Also:
Activity
,ActivityTemplate
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ActivityConstants.AccessType
The type of data edges, which specifies the direction (read or write access).static class
ActivityConstants.ActivityModelEntityType
The type of the entity of the activity model.static class
ActivityConstants.ActivityType
Constants for known activity types.static class
ActivityConstants.LocallyOverrideableActivityAttribute
All attributes of the activity model that may be overridden locally at runtime.static class
ActivityConstants.OpenOfficeMetaData
Constants for meta data entries of activities, used by the OpenOfficeIntegration.static class
ActivityConstants.TestMode
The execution mode of the operation or an activity.
-
Field Summary
Fields Modifier and Type Field Description static String
ACCESS_TYPE_ASSERTION_MESSAGE
The message of the assertion error that will be thrown if an unknown access type is found.static String
ACTIVITY_TYPE_CONFIGURATION_NATIVE_DATA_TYPE
The configuration key for the native data type in the parameter configuration.static String
ACTIVITY_TYPE_CONFIGURATION_POSITION
This is a proposed default value for the parameter's activity type configuration key determining the position of the parameter.static char[]
DISALLOWED_NAME_CHARACTERS
All characters that are not allowed in the names of entities of activity model branches.static char
KEY_SEPARATOR
The character which separates the names of an activity model branch from the key when overriding activity configurations in a local configuration, for instance:Namespace$ECName$OpName$AName#.Key = Value
.static char
NAME_SEPARATOR
The character which separates the names of an activity model from each other when overriding activity configurations in a local configuration, for instance:Namespace$ECName$OpName$AName#.Key = Value
.static String
URI_SCHEMA_ADEPT_ACTIVITY_REPOSITORY
The URL for activity repository class paths (e.g. adeptAR:).static String
USER_ATTRIBUTE_FROM_DEV_BRANCH
If present on an activity (template), the presence of this user attribute indicates that the activity template wasState.IN_DEVELOPMENT
and the its value contains the corresponding branch number.static String
USER_ATTRIBUTE_FROM_PARAMETER
If present on a process parameter, this user attribute contains the original parameter name within the activity template.static String
USER_ATTRIBUTE_FROM_PARAMETER_TEMPLATE
If present on a process parameter, this user attribute contains the parameter template name on which the parameter was originally based.static String
USER_ATTRIBUTES_DECISION
A constant to signal that an activity is of type DecisionActivity.
-
Constructor Summary
Constructors Constructor Description ActivityConstants()
-
-
-
Field Detail
-
NAME_SEPARATOR
public static final char NAME_SEPARATOR
The character which separates the names of an activity model from each other when overriding activity configurations in a local configuration, for instance:Namespace$ECName$OpName$AName#.Key = Value
. This allows to use.
in the names themselves.- See Also:
- Constant Field Values
-
KEY_SEPARATOR
public static final char KEY_SEPARATOR
The character which separates the names of an activity model branch from the key when overriding activity configurations in a local configuration, for instance:Namespace$ECName$OpName$AName#.Key = Value
.- See Also:
- Constant Field Values
-
DISALLOWED_NAME_CHARACTERS
public static final char[] DISALLOWED_NAME_CHARACTERS
All characters that are not allowed in the names of entities of activity model branches. These characters have a special meaning forPropertiesConfiguration
and must not be used.
-
USER_ATTRIBUTE_FROM_DEV_BRANCH
public static final String USER_ATTRIBUTE_FROM_DEV_BRANCH
If present on an activity (template), the presence of this user attribute indicates that the activity template wasState.IN_DEVELOPMENT
and the its value contains the corresponding branch number.- See Also:
- Constant Field Values
-
USER_ATTRIBUTE_FROM_PARAMETER
public static final String USER_ATTRIBUTE_FROM_PARAMETER
If present on a process parameter, this user attribute contains the original parameter name within the activity template. This allows a back reference even when after a parameter is renamed in a process template.- See Also:
- Constant Field Values
-
USER_ATTRIBUTE_FROM_PARAMETER_TEMPLATE
public static final String USER_ATTRIBUTE_FROM_PARAMETER_TEMPLATE
If present on a process parameter, this user attribute contains the parameter template name on which the parameter was originally based.- See Also:
- Constant Field Values
-
USER_ATTRIBUTES_DECISION
public static final String USER_ATTRIBUTES_DECISION
A constant to signal that an activity is of type DecisionActivity.- See Also:
- Constant Field Values
-
ACTIVITY_TYPE_CONFIGURATION_POSITION
public static final String ACTIVITY_TYPE_CONFIGURATION_POSITION
This is a proposed default value for the parameter's activity type configuration key determining the position of the parameter.- See Also:
- Constant Field Values
-
ACTIVITY_TYPE_CONFIGURATION_NATIVE_DATA_TYPE
public static final String ACTIVITY_TYPE_CONFIGURATION_NATIVE_DATA_TYPE
The configuration key for the native data type in the parameter configuration.- See Also:
- Constant Field Values
-
URI_SCHEMA_ADEPT_ACTIVITY_REPOSITORY
public static final String URI_SCHEMA_ADEPT_ACTIVITY_REPOSITORY
The URL for activity repository class paths (e.g. adeptAR:).- See Also:
- Constant Field Values
-
ACCESS_TYPE_ASSERTION_MESSAGE
public static final String ACCESS_TYPE_ASSERTION_MESSAGE
The message of the assertion error that will be thrown if an unknown access type is found.- See Also:
- Constant Field Values
-
-