Interface EmbeddedProcess
- All Superinterfaces:
ExecutableBusinessProcess,LightWeightProcess,LocalisedString,PluginDataContainer,UserAttributeContainer
The
EmbeddedProcess is used to embed another process
template. This corresponds to
ProcessConstants.TemplateUsage.AS_COPY
and 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
Modifier and TypeMethodDescriptionReturns the template of the embedded process.Returns the ID of the referenced embedded template.Methods inherited from interface de.aristaflow.adept2.model.processmodel.ExecutableBusinessProcess
getConfiguration, getExecutionControlProperties, getParameter, getParameters, getTestConfiguration, getTypeMethods inherited from interface de.aristaflow.adept2.model.common.i18n.LocalisedString
toLocalisedStringMethods inherited from interface de.aristaflow.adept2.model.common.PluginDataContainer
getPluginData, getPluginDatas, getSupportedPluginsMethods inherited from interface de.aristaflow.adept2.model.common.UserAttributeContainer
getUserAttributes, getUserAttributeValue, removeUserAttributeValue, setUserAttributeValue
-
Method Details
-
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.
-