public interface StorageOperation extends AbstractOperation
Operation which is
supported by not inheriting any attributes from a parent parameter (in
contrast to the interface Operation. 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.Operation| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.String> |
getClassPath()
Gets the part of the classpath that is added by this operation to the one
of the parent
attribute.
|
StorageActivityConfiguration |
getConfiguration()
Gets the configuration of this operation that corresponds to the (merged)
configuration
description of this operation.
|
StorageConfigurationDescription |
getConfigurationDescription()
Gets the configuration description for this operation.
|
java.lang.String |
getExecutableComponentName()
Gets the
ExecutableComponentDescription this operation belongs
to. |
java.util.Map<java.lang.String,StorageActivityModelParameter> |
getParameters(ActivityConstants.AccessType accessType)
Gets the parameters of the designated access type of this operation.
|
java.util.Map<java.lang.String,StorageParameterTemplate> |
getParameterTemplates()
Gets parameter templates that are defined for this operation and its child
entities or that are changed with respect to the ones of the parent entity.
|
StorageActivityConfiguration |
getTestConfiguration()
Gets the test configuration of this operation that corresponds to the
configuration description of
this operation.
|
void |
setClassPath(java.util.List<java.lang.String> classPath)
Sets the part of the classpath that is added by this operation to the one
of the parent
attribute.
|
void |
setConfiguration(StorageActivityConfiguration configuration)
Sets the configuration of this operation to the designated one.
|
void |
setConfigurationDescription(StorageConfigurationDescription description)
Sets the configuration description for this operation.
|
void |
setParameters(ActivityConstants.AccessType accessType,
java.util.Collection<StorageActivityModelParameter> parameters)
Sets all the parameters of the designated access type of this operation.
|
void |
setParameterTemplates(java.util.Map<java.lang.String,StorageParameterTemplate> parameterTemplates)
Sets parameter templates that are defined for this operation and its child
entities.
|
void |
setTestConfiguration(StorageActivityConfiguration testConfiguration)
Sets the test configuration of this operation to the designated one.
|
areExecutionControlPropertiesInterhited, getClassLoaderUsage, getDescription, getDeveloperDescription, getExecutionControlProperties, getGUIContextID, getIconID, getImplementationClass, getLicenceInformation, getName, getParameterChangePolicy, getRevision, getStaffAssignmentRule, getState, getSystemComponent, isClassLoaderUsageInherited, isDeveloperDescriptionInherited, isGUIContextIDInherited, isIconIDInherited, isImplementationClassInherited, isLicenceInformationInherited, isSystemComponentInherited, removeOwnClassLoaderUsage, removeOwnDeveloperDescription, removeOwnExecutionControlProperties, removeOwnGUIContextID, removeOwnIconID, removeOwnImplementationClass, removeOwnLicenceInformation, removeOwnSystemComponent, setClassLoaderUsage, setDescription, setDeveloperDescription, setExecutionControlProperties, setGUIContextID, setIconID, setImplementationClass, setLicenceInformation, setName, setParameterChangePolicy, setStaffAssignmentRule, setSupportsTestExecutionOnly, setSupportsViewOnly, setSystemComponent, supportsTestExecution, supportsViewOnlygetUserAttributes, getUserAttributeValue, removeUserAttributeValue, setUserAttributeValuegetPluginData, getPluginDatas, getSupportedPluginsjava.lang.String getExecutableComponentName()
ExecutableComponentDescription this operation belongs
to.ExecutableComponentDescription this operation
belongs to.java.util.List<java.lang.String> getClassPath()
StorageConfigurationDescription getConfigurationDescription()
This attribute overrides and merges with the corresponding
parent attribute. That is, the
attribute contains only entries that are changed with respect to the ones
of the parent attribute whereas the entries are identified by their name.
StorageActivityConfiguration getConfiguration()
StorageActivityConfiguration getTestConfiguration()
This test configuration overrides and merges with the
normal configuration (at runtime). That is, the
attribute contains only entries that are changed with respect to the normal
configuration as well as the configurations (test and normal) of the parent
entities whereas the entries are identified by their name.
Note that the test configuration allows to override fixed values of the
normal configuration.
java.util.Map<java.lang.String,StorageActivityModelParameter> getParameters(ActivityConstants.AccessType accessType)
The parameters need not be based on parameter templates of this operation or the corresponding executable component description.
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.
void setClassPath(java.util.List<java.lang.String> classPath)
classPath - The part of the classpath that is contributed by this
operation. This is appended to the classpath of the parent entity
and thus forms the complete classpath.void setConfigurationDescription(StorageConfigurationDescription description)
The configuration description has to be set as a whole; to add or modify
single entries, retrieve the complete description from this operation, add
or modify the entry and provide the complete description again to this
method. Use null to remove the configuration description from
this operation and inherit the configuration description of the parent
entity without any changes.
When changing the configuration description one has to check for conflicts that may occur in the configuration description of the configuration sets this operation is part of.
This attribute overrides and merges with the corresponding parent attribute. That is, the attribute contains only entries that are changed with respect to the ones of the parent attribute whereas the entries are identified by their name.
description - The description for all configuration values of this
operation, that is, the name of the configuration entries, their
type and whether they are mandatory. Use null to
remove the configuration description from this operation, 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 operation, that is, it will be inherited
from the parent entity again.
This attribute overrides and merges with the corresponding parent attribute. That is, the attribute contains only new entries and entries that are changed with respect to the ones of the parent attribute whereas the entries are identified by their name.
configuration - The configuration values set for this operation 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 operation,
that is, it will be inherited from the parent entity again.void setTestConfiguration(StorageActivityConfiguration testConfiguration)
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 operation, that is, it will be
inherited from the parent entity again.
testConfiguration - The configuration values set for the test mode of
this operation 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
operation, that is, it will be inherited from the parent entity
again.void setParameters(ActivityConstants.AccessType accessType, java.util.Collection<StorageActivityModelParameter> parameters)
The parameters need not be based on parameter templates of this operation or the corresponding executable component description.
accessType - The access type of the parameters to be retrieved (only
values in ActivityConstants.AccessType.activityRelatedValues() are allowed).parameters - The parameters of this operation for the designated
access type. If this operation does not have parameters of the
designated access type provide null.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 operation, add or modify the template and provide the collection
of templates again to this method. Use null for removing all
parameter templates of this operation, that is, the parameter templates
will be inherited from the parent entity again.
It will not be allowed to set parameter templates for this operation if the
parameter change policy of this operation 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 child entities are not allowed to add or change
parameters.
This attribute overrides and merges with the corresponding parent attribute. That is, the collection contains only new parameter templates and parameter templates that are changed with respect to the ones of the parent attribute whereas they entries are identified by their template name.
parameterTemplates - A collection containing all parameter templates
that are defined for this operation.