Interface LightWeightProcessInstance
-
- All Superinterfaces:
ExecutableBusinessProcessInstance
,PluginDataContainer
,UserAttributeContainer
public interface LightWeightProcessInstance extends ExecutableBusinessProcessInstance
TheLightWeightProcessInstance
is an instance of
.LightWeightProcess
- Author:
- Ulrich Kreher
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
fork()
Returns whether the referenced template should be instantiated as separated top-level process instead of a "real" process.UUID
getTemplateID()
Returns the ID of the referenced template.boolean
isEmbedded()
Returns whether the lightweight process is embedded in the parent process (or referenced).-
Methods inherited from interface de.aristaflow.adept2.model.execution.ExecutableBusinessProcessInstance
getAttachedDataContext, getConfiguration, getDescription, getExecutionControlProperties, getGroupExecutionContext, getGroupName, getIconID, getName, getParameter, getParameters, getProcessInstanceName, getProcessTemplateName, getProcessTemplateVersion, getProcessType
-
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
-
getTemplateID
UUID getTemplateID()
Returns the ID of the referenced template. This is for internal use only! Do not call this method!- Returns:
- The process template ID of this lightweight process.
-
fork
boolean fork()
Returns whether the referenced template should be instantiated as separated top-level process instead of a "real" process. This is mutually exclusive withisEmbedded()
.- Returns:
- Whether the referenced template should be instantiated as separated top-level process instead of a "real" process.
- See Also:
ReferencedProcess.fork()
-
isEmbedded
boolean isEmbedded()
Returns whether the lightweight process is embedded in the parent process (or referenced). This is needed for checking the subprocess usage (TemplateStatus.getUsageAsSubprocess()
) when creating a subprocess instance. This is mutually exclusive withfork()
.- Returns:
- Whether the lightweight process is embedded in the parent process.
- See Also:
EmbeddedProcess
-
-