Interface EmbeddedProcess
-
- All Superinterfaces:
ExecutableBusinessProcess,LightWeightProcess,LocalisedString,PluginDataContainer,UserAttributeContainer
public interface EmbeddedProcess extends LightWeightProcess
TheEmbeddedProcessis used to embed another process template. This corresponds toProcessConstants.TemplateUsage.AS_COPYand does not allow to propagate changes of the referenced template automatically but it avoids the need of a separate process template since it is physically embedded in the parent process template.- Author:
- Ulrich Kreher
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TemplategetTemplate()Returns the template of the embedded process.UUIDgetTemplateID()Returns the ID of the referenced embedded template.-
Methods inherited from interface de.aristaflow.adept2.model.processmodel.ExecutableBusinessProcess
getConfiguration, getExecutionControlProperties, getParameter, getParameters, getTestConfiguration, getType
-
Methods inherited from interface de.aristaflow.adept2.model.common.i18n.LocalisedString
toLocalisedString
-
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
-
getTemplate
Template getTemplate()
Returns the template of the embedded process. The returned object is a full-fledged template object except that it has the same ID as the parent template.
The returned type of this method equals the type of the parent process template, that is, if the parent process template is aChangeableTemplatethis method will also return aChangeableTemplate. TheTemplateStatusfor the parent template also applies to the returned template.- Returns:
- The template embedded in a super process template, being just like a normal template except of the ID.
-
getTemplateID
UUID getTemplateID()
Returns the ID of the referenced embedded template. This method is for internal use only! Do not call it! It is only defined in the process manager, outside of the process manager the value is arbitrary (may also be null).- Returns:
- The ID of the referenced embedded process template for usage in the process manager.
-
-