Interface BuildtimeActivity
-
- All Superinterfaces:
AbstractActivity
,PluginDataContainer
,UserAttributeContainer
- All Known Subinterfaces:
Activity
,ActivityTemplate
,DecisionActivity
public interface BuildtimeActivity extends AbstractActivity
ABuildtimeActivity
unifies the similarities of the objects representing activities at buildtime. These are: activities (used in the process model), activity templates (intermediate objects for transferring the necessary information from the activity model to the process model) and activity template definitions (the corresponding objects in the activity model). This allows for easier implementation of checks based on these objects. However, the semantic of the attributes may slightly differ especially for theActivityTemplateDefintion
since all other activity objects stem from such an activity template definition. Refer to the documentation of the corresponding interface for further information.- Author:
- Ulrich Kreher
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ParameterChangePolicy
getParameterChangePolicy()
Gets the parameter change policy for the operation of this activity, that is the supported interface changes for this operation (add, change and/or remove parameters).ActivityConfiguration
getTestConfiguration()
Gets the test configuration of this buildtime activity.boolean
supportsTestExecution()
Gets whether this buildtime activity supports a test execution.-
Methods inherited from interface de.aristaflow.adept2.model.common.AbstractActivity
getActivityName, getAttributeOrigins, getClassLoaderUsage, getClassPath, getConfiguration, getConfigurationName, getDescription, getExecutableComponentName, getExecutionControlProperties, getGUIContextID, getIconID, getID, getImplementationClass, getOperationName, getParameter, getParameters, getSeparatedClassPaths, getSystemComponent, supportsViewOnly
-
Methods inherited from interface de.aristaflow.adept2.model.common.PluginDataContainer
getPluginData, getPluginDatas, getSupportedPlugins
-
Methods inherited from interface de.aristaflow.adept2.model.common.UserAttributeContainer
getUserAttributes, getUserAttributeValue, removeUserAttributeValue, setUserAttributeValue
-
-
-
-
Method Detail
-
supportsTestExecution
boolean supportsTestExecution()
Gets whether this buildtime activity supports a test execution. If so, the operation will be able to run in a special test environment with a test configuration which does not have any critical side effects. The operation is provided a flag at runtime whether it is in test mode.- Returns:
- Whether the operation of this abstract activity supports a test mode without any critical side effects.
- See Also:
getTestConfiguration()
,SessionContext.isTestMode()
-
getTestConfiguration
ActivityConfiguration getTestConfiguration()
Gets the test configuration of this buildtime activity. These configuration values only apply when the operation of this buildtime activity executed in test mode, that is the operation is provided this configuration. Depending on the concrete interface, this configuration may already be merged with the normal configuration.
Note that the test configuration allows to override fixed values of the normal configuration.- Returns:
- The configuration values set for the test mode of the operation of this buildtime activity based on the configuration description.
-
getParameterChangePolicy
ParameterChangePolicy getParameterChangePolicy()
Gets the parameter change policy for the operation of this activity, that is the supported interface changes for this operation (add, change and/or remove parameters).- Returns:
- The parameter change policy for the operation of this activity that specifies the supported interface changes for the operation.
-
-