public interface AbstractExecutableComponentDescription extends UserAttributeContainer, PluginDataContainer
ExecutableComponentDescription used with inheritance (in the
GUI) as well as for storage.
This interface is not for public usage! It is only public due to a bug in
the javadoc-generation. Never cast one of the sub-interfaces
(ExecutableComponentDescription and
StorageExecutableComponentDescription) to this interface!
| Modifier and Type | Method and Description |
|---|---|
ClassLoaderUsage |
getClassLoaderUsage()
Gets what classloader to use for the executable component of this
operation.
|
java.util.List<java.lang.String> |
getClassPath()
Gets the classpath to be used when instantiating the
implementation class for this executable
component as well as all classes needed to execute all of its methods. |
java.lang.String |
getDeveloperDescription()
Gets a description for the developer of the component and the administrator
of the activity model.
|
ExecutionControlProperties |
getExecutionControlProperties()
Gets the interactions that the executable component supports for
controlling its execution, that is whether the component responds to
signals from the outside to suspend, reset or close the component.
|
java.lang.String |
getGUIContextID()
Gets the ID of the GUI context the executable component needs, for instance,
an SWT or an AWT context.
|
java.util.UUID |
getIconID()
Gets the ID of the icon to use for process steps and worklist items of the
underlying executable component.
|
java.lang.String |
getImplementationClass()
Gets the name of the class implementing
ExecutableComponent
for the physical counterpart of this component description. |
java.lang.String |
getLicenceInformation()
Gets the licence information for this executable component.
|
java.lang.String |
getName()
Gets the system-wide unique name of this
ExecutableComponentDescription. |
long |
getRevision()
Gets the (base) revision of this executable component description which
allows to track changes.
|
State |
getState()
Gets the current deployment state of this executable component description,
that is whether it is currently modified, it can be used or it may not be
used any more.
|
byte[] |
getSystemComponent()
Gets the signature in case this executable component is a privileged
component and may access system services.
|
void |
setClassLoaderUsage(ClassLoaderUsage classLoaderUsage)
Sets what classloader to use for the executable component of this
operation.
|
void |
setClassPath(java.util.List<java.lang.String> classPath)
Sets the classpath to be used when instantiating and executing the
implementation class for this executable
component. |
void |
setDeveloperDescription(java.lang.String developerDescription)
Sets a description for the developer of the component and the administrator
of the activity model.
|
void |
setExecutionControlProperties(ExecutionControlProperties ecp)
Sets the interactions that the executable component supports for
controlling its execution, that is whether the component responds to
signals from the outside to suspend, reset or close the component.
|
void |
setGUIContextID(java.lang.String guiContextID)
Sets the ID of the GUI context the executable component needs, for
instance, an SWT or an AWT context; or
GUIConstants.NULL_CONTEXT if no
GUI context is required. |
void |
setIconID(java.util.UUID iconID)
Sets the ID of the icon to use for process steps and worklist items of the
underlying executable component.
|
void |
setImplementationClass(java.lang.String implementationClass)
Sets the name of the class implementing
ExecutableComponent
for the physical counterpart of this component description. |
void |
setLicenceInformation(java.lang.String licenceInformation)
Sets the licence information for this executable component.
|
void |
setName(java.lang.String name)
Sets the system-wide unique name of this executable component description.
|
void |
setSystemComponent(byte[] signature)
Sets the signature for the executable component which allows privileged
access to system services.
|
getUserAttributes, getUserAttributeValue, removeUserAttributeValue, setUserAttributeValuegetPluginData, getPluginDatas, getSupportedPluginsjava.lang.String getName()
ExecutableComponentDescription. This name identifies also
child entities and configuration entries in the global configuration and
configurations for the runtime manager.
This name also carries information on the version of the executable
component. As long as major versions have the same configuration this name
can remain static. It needs to be changed as soon as configurations become
incompatible. Since the name cannot be changed except for the initial
revision IN_DEVELOPMENT one needs to create a new
ExecutableComponentDescription.
ExecutableComponentDescription that identifies the
branch of activity model entities as well as the configurations
that apply at runtime for these entities.java.lang.String getDeveloperDescription()
long getRevision()
state is set to IN_DEVELOPMENT but the
revision remains until the branch is released.
Only an executable component description having no released revision yet may change its name.
State getState()
ExecutableComponentDescription implicitly also sets all of its
child entities to outdated. However, the state is not directly propagated
to child entities. Rather before using an entity all of its parent entities
have to be checked for their state.java.lang.String getImplementationClass()
ExecutableComponent
for the physical counterpart of this component description. This class is
instantiated and called at runtime and therefore has to be available at the
corresponding runtime manager. It is a valid class name, the class should
be part of the classpath. null may be exceptionally returned.ExecutableComponent
for the physical counterpart of this component description which is
instantiated and called at runtime. This may exceptionally be
null for ECDs that are only to be executed with the
runtime service.java.util.List<java.lang.String> getClassPath()
implementation class for this executable
component as well as all classes needed to execute all of its methods. code manager
are supported.ClassLoaderUsage getClassLoaderUsage()
getClassPath() will
be ignored. That is, the activity may not have additional classpaths; all
classes need to be available in the platform classloader.byte[] getSystemComponent()
java.lang.String getGUIContextID()
GUIConstantsExecutionControlProperties getExecutionControlProperties()
java.util.UUID getIconID()
java.lang.String getLicenceInformation()
void setName(java.lang.String name)
Note that changing the name for an executable component description having no released revision yet propagates the change to all existing child entities since they reference this component description via its name.
name - The name of this system-wide unique name of this executable
component description that identifies the branch of activity model
entities as well as the configurations that apply at runtime for
these entities.void setDeveloperDescription(java.lang.String developerDescription)
developerDescription - A description for the developer of the
component and the administrator of the activity model. This
description is not propagated to the process and is only part of
the activity model. Use the empty string to unset the developer
description.void setImplementationClass(java.lang.String implementationClass)
ExecutableComponent
for the physical counterpart of this component description. This class is
instantiated and called at runtime and therefore has to be available at the
corresponding runtime manager. It has to be a valid class name, the class
should be part of the classpath.implementationClass - The name of the class implementing
ExecutableComponent for the physical counterpart of
this component description which is instantiated and called at
runtime.void setClassPath(java.util.List<java.lang.String> classPath)
implementation class for this executable
component. code manager
are supported.classPath - A list of entries for the classpath to search for classes
used at runtime. The order is important: Prior entries are used
first.void setClassLoaderUsage(ClassLoaderUsage classLoaderUsage)
getClassPath() will
be ignored. That is, the activity may not have additional classpaths; all
classes need to be available in the platform classloader.classLoaderUsage - What classloader to use for executable component of
this operation; one for each execution, shared for all executions
of the same activity or the classloader of the AristaFlow
platform.void setSystemComponent(byte[] signature)
null.signature - A signature to verify the component to prevent harmful
components from system access. Use null for a
non-system component. An empty array is not allowed.void setGUIContextID(java.lang.String guiContextID)
GUIConstants.NULL_CONTEXT if no
GUI context is required. This is provided at runtime and allows the
component to render its graphical user interface to.guiContextID - The ID of the GUI context the executable component
needs to render its graphical user interface to or
GUIConstants.NULL_CONTEXT
if no GUI context is required.GUIConstantsvoid setExecutionControlProperties(ExecutionControlProperties ecp)
ecp - The interactions that the executable component supports for
controlling its execution, that is whether the component responds
to signals from the outside to suspend, reset or close the
component.void setIconID(java.util.UUID iconID)
iconID - The ID of the icon to use for process steps and worklist
items; the corresponding icon may be retrieved in various sizes
and formats. Use null for no icon.void setLicenceInformation(java.lang.String licenceInformation)
licenceInformation - The licence information for this executable
component as arbitrary string or the empty string.