public interface ReferencedProcess extends LightWeightProcess
ReferencedProcess is used to reference another process
template. This can either be a "real" subprocess (corresponds to
ProcessConstants.TemplateUsage.AS_REFERENCE)
or a forked subprocess (corresponds to
TemplateStatus.isTopLevelUsable()).
Changes to the referenced template are automatically propagated to its
usages. This interface just returns the reference to the corresponding
template (via its UUID) and whether the referenced process is to be started
asynchronously (forked). | Modifier and Type | Method and Description |
|---|---|
boolean |
fork()
Returns whether the referenced template should be instantiated as separated
top-level process instead of a "real" process.
|
java.util.UUID |
getTemplateID()
Returns the ID of the referenced template.
|
getConfiguration, getExecutionControlProperties, getParameter, getParameters, getTestConfiguration, getTypegetUserAttributes, getUserAttributeValue, removeUserAttributeValue, setUserAttributeValuegetPluginData, getPluginDatas, getSupportedPluginstoLocalisedStringjava.util.UUID getTemplateID()
AbstractActivity.getID() and therefore not in the common superclass since a
process template is a reference in the process repository while an activity
template references a template in the activity repository.boolean fork()
TemplateStatus.isTopLevelUsable())
may be used as a forked (child) process.