public interface StorageActivityTemplateDefinition extends AbstractActivityTemplateDefinition
ActivityTemplateDefinition which is supported by not inheriting
any attributes from a parent parameter (in contrast to the interface
ActivityTemplateDefinition. Only the information on whether an
attribute is to be inherited is available but not the value itself since this
is not needed for storing. This applies to all methods of this interface,
irrespective of the documentation of the methods.ActivityTemplateDefinition| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.String> |
getClassPath()
Gets the part of the
classpath that is added by
this activity template definition to the one of the
parent attribute. |
StorageActivityConfiguration |
getConfiguration()
Gets the configuration of this activity template description that
corresponds to the configuration
description of this activity template.
|
StorageConfigurationDescription |
getConfigurationDescription()
Gets the configuration description for this activity template.
|
java.lang.String |
getConfigurationSetName()
Gets the configuration set of this activity template definition or
null in case this activity template definition does not have a
configuration set. |
java.lang.String |
getExecutableComponentName()
Gets the system-wide unique name of the
ExecutableComponentDescription this activity template
definition is based upon. |
java.lang.String |
getOperationName()
Gets the name of the operation (unique with respect to the
ExecutableComponentDescription) this activity template
definition belongs to. |
java.util.Map<java.lang.String,StorageActivityModelParameter> |
getParameters(ActivityConstants.AccessType accessType)
Gets the parameters of the designated access type of the operation of this
abstract activity.
|
java.util.Map<java.lang.String,StorageParameterTemplate> |
getParameterTemplates()
Gets parameter templates that are defined for the operation of this
activity template definition or that are changed with respect to the ones
of the parent entity.
|
StorageActivityConfiguration |
getTestConfiguration()
Gets the test configuration of this activity template definition that
corresponds to the
configuration
description of this activity template definition. |
void |
setClassPath(java.util.List<java.lang.String> classPath)
Sets the part of the classpath that is added by this activity template
definition to the one of the parent
attribute.
|
void |
setConfiguration(StorageActivityConfiguration configuration)
Sets the configuration of this activity template definition to the
designated one.
|
void |
setConfigurationDescription(StorageConfigurationDescription description)
Sets the configuration description for this activity template definition.
|
void |
setParameters(ActivityConstants.AccessType accessType,
java.util.Map<java.lang.String,StorageActivityModelParameter> parameters)
Sets all the parameters of the designated access type of the operation of
this activity template definition.
|
void |
setParameterTemplates(java.util.Map<java.lang.String,StorageParameterTemplate> parameterTemplates)
Sets parameter templates that are defined for this activity template
definition and its offspring.
|
void |
setTestConfiguration(StorageActivityConfiguration testConfiguration)
Sets the test configuration of the operation of this activity template
definition to the designated one.
|
areExecutionControlPropertiesInherited, getClassLoaderUsage, getDescription, getDeveloperDescription, getExecutionControlProperties, getGUIContextID, getIconID, getID, getImplementationClass, getLicenceInformation, getName, getParameterChangePolicy, getRevision, getStaffAssignmentRule, getState, getSystemComponent, isClassLoaderUsageInherited, isDescriptionInherited, isDeveloperDescriptionInherited, isGUIContextIDInherited, isIconIDInherited, isImplementationClassInherited, isLicenceInformationInherited, isParameterChangePolicyInherited, isStaffAssignmentRuleInherited, isSupportsTestExecutionInherited, isSupportsViewOnlyInherited, isSystemComponentInherited, removeOwnClassLoaderUsage, removeOwnDescription, removeOwnDeveloperDescription, removeOwnExecutionControlProperties, removeOwnGUIContextID, removeOwnIconID, removeOwnImplementationClass, removeOwnLicenceInformation, removeOwnParameterChangePolicy, removeOwnStaffAssignmentRule, removeOwnSupportsTestExecution, removeOwnSupportsViewOnly, removeOwnSystemComponent, setClassLoaderUsage, setDescription, setDeveloperDescription, setExecutionControlProperties, setGUIContextID, setIconID, setID, setImplementationClass, setLicenceInformation, setName, setParameterChangePolicy, setStaffAssignmentRule, setSupportsTestExecution, setSupportsViewOnly, setSystemComponent, supportsTestExecution, supportsViewOnlygetPluginData, getPluginDatas, getSupportedPluginsgetUserAttributes, getUserAttributeValue, removeUserAttributeValue, setUserAttributeValuejava.lang.String getExecutableComponentName()
ExecutableComponentDescription this activity template
definition is based upon.ExecutableComponentDescription this activity template
definition is based upon which also identifies the configurations
that apply at runtimejava.lang.String getOperationName()
ExecutableComponentDescription) this activity template
definition belongs to. This name is used in configurations that apply at
runtime for operation-specific configurations. Therefore one may have
configuration values for executable components as well as operations.ExecutableComponentDescription) this activity template
definition is based upon.java.lang.String getConfigurationSetName()
null in case this activity template definition does not have a
configuration set.null.java.util.List<java.lang.String> getClassPath()
classpath that is added by
this activity template definition to the one of the
parent attribute. In case this activity
template definition does not supplement the classpath this will be an empty
list.StorageConfigurationDescription getConfigurationDescription()
This attribute overrides and merges with the corresponding parent attribute
(configuration
descriptions from the configuration set and/or
Operation.getConfigurationDescription()).
StorageActivityConfiguration getConfiguration()
This attribute overrides and merges with the corresponding parent attribute
(configurations from the
configuration set and/or Operation.getConfiguration()).
StorageActivityConfiguration getTestConfiguration()
configuration
description of this activity template definition. These configuration
values only apply when the operation is executed in test mode, that is the
operation is provided this configuration instead of the
normal configuration. This test configuration
will be merged with the normal configuration, therefore only changed values
have to be provided. Note that the test configuration allows to override
fixed values of the normal configuration. Clearly in case of an empty test
configuration the normal configuration will be used in test mode.
Besides the normal configuration the test configuration overrides and
merges (secondly) with the corresponding parent attribute (
test configurations from the
configuration set and/or Operation.getTestConfiguration()). That
is, the attribute contains only new entries and entries that are changed
with respect to the normal configuration and the test configuration of the
parent attribute whereas the entries are identified by their name. However,
the test configuration can not override the parent test configuration
directly since the first overriding takes place with the
normal configuration.
normal configuration
will be used in test mode.java.util.Map<java.lang.String,StorageActivityModelParameter> getParameters(ActivityConstants.AccessType accessType)
The parameters need not be based on parameter templates of this activity template definition or its parent entities.
This attribute overrides and merges with the corresponding parent attribute
(Operation#getParameters(AccessType)). That is, the attribute
contains only entries that are changed with respect to the ones of the
parent attribute whereas the parameters are identified by their name.
accessType - The access type of the parameters to be retrieved (only
values in ActivityConstants.AccessType.activityRelatedValues() are allowed).java.util.Map<java.lang.String,StorageParameterTemplate> getParameterTemplates()
This attribute overrides and merges with the corresponding parent attribute
(ConfigurationSet.getParameterTemplates() and/or
Operation.getParameterTemplates()).
void setClassPath(java.util.List<java.lang.String> classPath)
classPath - The part of the classpath that is contributed by this
activity template definition. This is appended to the classpath of
the parent entity and thus forms the complete classpath.void setConfigurationDescription(StorageConfigurationDescription description)
null to remove it from
this activity template definition and inherit the configuration description
of the parent entity without any changes.
This attribute overrides and merges with the corresponding parent attribute
(
ConfigurationSet.setConfigurationDescription(InheritedConfigurationDescription)
or Operation.setConfigurationDescription(InheritedConfigurationDescription)
).
description - The description for all configuration values of this
activity template definition, that is, the name of the
configuration entries, their type and whether they are mandatory.
Use null to remove the configuration description from
this activity template definition, that is, it will be inherited
from the parent entity again.void setConfiguration(StorageActivityConfiguration configuration)
The configuration has to be set as a whole; to add or modify single values,
retrieve the complete configuration, add or modify the value and provide
the complete configuration again to this method. Use null to
remove the configuration from this activity template definition, that is,
it will be inherited from the parent entity again.
This attribute overrides and merges with the corresponding parent attribute
(ConfigurationSet.setConfiguration(InheritedConfiguration)
or Operation.setConfiguration(InheritedActivityConfiguration)).
configuration - The configuration values set for this activity
template definition based on the configuration description. This
does not necessarily contain all values since they can still be
set when modelling. It may also contain more in case it provides
values for the configuration description of a parent entity. Use
null to remove the configuration from this activity
template definition, that is, it will be inherited from the parent
entity again.void setTestConfiguration(StorageActivityConfiguration testConfiguration)
normal configuration. This test
configuration is merged with the normal configuration. Note that the test
configuration allows to override fixed values of the normal configuration.
Clearly in case of an empty test configuration the normal configuration
will be used in test mode. The values may also be retrieved from process
parameters or the process configuration (determined when modelling).
The configuration has to be set as a whole; to add or modify single values,
retrieve the complete configuration, add or modify the value and provide
the complete configuration again to this method. Use null to
remove the test configuration from this activity template definition, that
is, it will be inherited from the parent entity again.
This attribute overrides and merges with the normal configuration and afterwards with the corresponding parent
attribute (
ConfigurationSet.setTestConfiguration(InheritedConfiguration)
or Operation.setTestConfiguration(InheritedActivityConfiguration)).
testConfiguration - The configuration values set for the test mode of
the operation of this activity template definition based on the
configuration description. This does not necessarily contain all
values since they can still be set when modelling or taken from
the normal configuration. Use null to remove the test
configuration from this activity template definition, that is, it
will be inherited from the parent entity again.void setParameters(ActivityConstants.AccessType accessType, java.util.Map<java.lang.String,StorageActivityModelParameter> parameters)
parameter
change policy of this activity template definition, its collection of
parameters may be fix, changed and/or added; removal is not allowed.
However, the parameter change policy of this activity template definition
does not apply to this activity template definition but to its offspring. null for removing all parameter
templates of this activity template definition, that is, the parameters
will be inherited from the parent entity again. The parameters need not be based on parameter templates of this activity template definition or its parent entities.
This attribute overrides and merges with the corresponding parent attribute
(Operation#setParameters(AccessType, InheritedCollection)).
accessType - The access type of the parameters to be retrieved (only
values in ActivityConstants.AccessType.activityRelatedValues() are allowed).parameters - The parameters of the operation of this activity template
definition for the designated access type. If the operation does
not have parameters of the designated type provide
null. This removes overriding parameters and inherits
them from the parent entity again.void setParameterTemplates(java.util.Map<java.lang.String,StorageParameterTemplate> parameterTemplates)
When setting the parameter templates the whole collection has to be set; to
add or modify single parameter templates retrieve the complete templates
from this activity template definition, add or modify the template and
provide the collection of templates again to this method. Use
null for removing all parameter templates of this activity
template definition, that is, the parameter templates will be inherited
from the parent entity again.
It will not be allowed to set parameter templates for this activity
template definition if the parameter change policy of this activity
template definition does not allow to add or change real parameters
(ParameterChangePolicy.ADD_VIRTUAL
or ParameterChangePolicy.FIXED);
only null will be accepted. It will not make sense to set
parameter templates if the offspring entities are not allowed to add or
change parameters.
This attribute overrides and merges with the corresponding parent attribute
(ConfigurationSet.setParameterTemplates(InheritedCollection) or
parent
attribute).
parameterTemplates - A collection containing all parameter templates
that are defined for this activity template definition.