public interface ExecutableComponentDescription extends AbstractExecutableComponentDescription
ExecutableComponentDescription is the logical counterpart of
the physical entity that is called at runtime, the
"ExecutableComponent". As its name implies, it
contains the basic information on the ExecutableComponent, for
instance the name of the class implementing the
ExecutableComponent-interface, the class path, licence
information and a description. Additional data like a revision or a state
allows to organise and manage the descriptions and provide a life cycle and
change management.
An ExecutableComponentDescription is identified by its name.
This may only be changed while being IN_DEVELOPMENT.
Afterwards this name is used to identify the executable component; in the
activity model as well as in the global configuration and the configuration
of local runtime managers. The name must not be changed again since this
would require massive changes in the configurations. If a new version of an
executable component renders the corresponding configurations incompatible,
create a complete new ExecutableComponentDescription with a
different name. This way existing configurations do not apply any more.
| Modifier and Type | Method and Description |
|---|---|
InheritedConfigurationDescription |
getConfigurationDescription()
Gets the configuration description for this executable component, that is
a description of all configuration values that are needed or supported at
runtime.
|
InheritedCollection<java.lang.String,ParameterTemplate> |
getParameterTemplates()
Gets parameter templates that are defined for this executable component
description and its child entities.
|
StorageExecutableComponentDescription |
getStorageECD()
Gets the object that allows to easily store the data of this
ExecutableComponentDescription. |
void |
setConfigurationDescription(InheritedConfigurationDescription description)
Sets the configuration description for this executable component, that is a
description of all configuration values that are needed or supported at
runtime.
|
void |
setParameterTemplates(InheritedCollection<java.lang.String,ParameterTemplate> parameterTemplates)
Sets parameter templates that are defined for this executable component
description and its child entities.
|
getClassLoaderUsage, getClassPath, getDeveloperDescription, getExecutionControlProperties, getGUIContextID, getIconID, getImplementationClass, getLicenceInformation, getName, getRevision, getState, getSystemComponent, setClassLoaderUsage, setClassPath, setDeveloperDescription, setExecutionControlProperties, setGUIContextID, setIconID, setImplementationClass, setLicenceInformation, setName, setSystemComponentgetUserAttributes, getUserAttributeValue, removeUserAttributeValue, setUserAttributeValuegetPluginData, getPluginDatas, getSupportedPluginsInheritedConfigurationDescription getConfigurationDescription()
InheritedCollection<java.lang.String,ParameterTemplate> getParameterTemplates()
This templates need not be used at all when creating parameters. If a component needs to ensure that only these templates are used, an appropriate check needs to be provided that verifies the created parameters.
StorageExecutableComponentDescription getStorageECD()
ExecutableComponentDescription. This provides simpler data
types.
The returned object is for storing only! You should not rely on it to retrieve a simpler representation of the data! If you need these, you will have to use appropriate tool methods or create them yourself.
Operation having simpler
data types than this ExecutableComponentDescription.void setConfigurationDescription(InheritedConfigurationDescription description)
When changing the configuration description one has to check for conflicts that may occur in the configuration description of the configuration sets the operations of this executable component description is part of.
The configuration description has to be set as a whole; to add or modify
single entries, retrieve the complete description, add or modify the entry
and provide the complete description again to this method. Use
null to remove it.
description - The description for all configuration values of this
executable component, that is, the name of the configuration
entries, their type and whether they are mandatory. Use
null to remove the configuration description.void setParameterTemplates(InheritedCollection<java.lang.String,ParameterTemplate> parameterTemplates)
When setting the parameter templates the whole collection has to be set,
even in case only one parameter template has been modified. Use
null for removing all parameter templates.
parameterTemplates - A collection containing all parameter templates
that are defined for this executable component description and its
child entities. Use null to remove all parameter
templates.