public interface TemplateReference extends UserAttributeContainer, PluginDataContainer
Template| Modifier and Type | Method and Description |
|---|---|
boolean |
areInstancesChangeable(boolean subprocessScope)
Returns the comment set for the "instances migratable to"-status for either
subprocess or top-level-usage.
|
boolean |
areInstancesMigratableTo(boolean subprocessScope)
Returns whether instances running on a parent process template may be
migrated to this process template or not.
|
ProcessConstants.TemplateBuildtimeState |
getBuildtimeState()
Gets the state of this process template while it may be modified and is not
released.
|
java.lang.String |
getDescription()
Gets the description of the referenced process template.
|
java.util.UUID |
getID()
Gets the unique (with respect to a process repository) ID of the referenced
process template.
|
java.util.Set<ProcessModelParameter> |
getInputParameters()
Gets the input parameters of the referenced process template that has to be
provided when a corresponding instance is started as a list.
|
java.lang.String |
getName()
Gets the name (not necessarily unique) of the referenced process template.
|
java.util.Set<ProcessModelParameter> |
getOutputParameters()
Gets the output parameters of the referenced process template that are
provided to a surrounding process template as a list.
|
java.lang.String |
getProcessType()
Gets the unique process type name of the referenced process template.
|
QualifiedAgent |
getSupervisorAgent()
Returns the supervisor agent of the process template.
|
ProcessConstants.TemplateUsage |
getUsageAsSubprocess()
Gets how the template may be used, that is whether the template may be used
as a top-level process only, a copied subprocess, a referenced subprocess
or both.
|
java.lang.String |
getVersion()
Gets the logic version of the template, which distinguishes between, for
instance, the major and minor versions (1.1.x vs. 1.x.y).
|
boolean |
isDerivable()
Returns whether this process template may be derived and therefore
modified.
|
boolean |
isInstantiable(boolean subprocessScope)
Returns whether this process template may be instantiated or not.
|
boolean |
isOutdated(boolean subprocessScope)
Returns whether this process template is outdated and should not be used
any more.
|
boolean |
isTopLevelUsable()
Returns whether this template may be used as top-level process
|
getUserAttributes, getUserAttributeValue, removeUserAttributeValue, setUserAttributeValuegetPluginData, getPluginDatas, getSupportedPluginsjava.util.UUID getID()
Template.getID()java.lang.String getProcessType()
Template.getProcessType()java.lang.String getVersion()
Template.getVersion()java.lang.String getName()
Template.getName()java.lang.String getDescription()
Template.getDescription()QualifiedAgent getSupervisorAgent()
Template.getSupervisorAgent()java.util.Set<ProcessModelParameter> getInputParameters()
Template.getParameters(de.aristaflow.adept2.model.globals.ActivityConstants.AccessType)java.util.Set<ProcessModelParameter> getOutputParameters()
Template.getParameters(de.aristaflow.adept2.model.globals.ActivityConstants.AccessType)boolean isTopLevelUsable()
true if this process template may be instantiated as
top-level process.TemplateStatus.isTopLevelUsable()ProcessConstants.TemplateUsage getUsageAsSubprocess()
TemplateStatus.getUsageAsSubprocess()ProcessConstants.TemplateBuildtimeState getBuildtimeState()
TemplateStatus.getBuildtimeState()boolean isDerivable()
true if the referenced process template may be
derived.TemplateStatus.isDerivable()boolean isOutdated(boolean subprocessScope)
Please note that the returned state will have to be ignored if the request
is for subprocess scope and the template usage is
NO_SUBPROCESS.
subprocessScope - Whether the scope of the asked for template state is
for subprocess usage (template is referenced) or for usage as
top-level process.true if this process template is outdated and should
not be used any more. Ignore the returned value if the request is
for subprocess scope and the template usage is
TemplateUsage.NO_SUBPROCESS.ProcessConstants.TemplateUsage,
getUsageAsSubprocess(),
TemplateStatus.isOutdated(boolean)boolean isInstantiable(boolean subprocessScope)
Please note that the returned state will have to be ignored if the request
is for subprocess scope and the template usage is
NO_SUBPROCESS.
subprocessScope - Whether the scope of the asked for template state is
for subprocess usage (template is referenced) or for usage as
top-level process.true if this process template may be instantiated.
Ignore the returned value if the request is for subprocess scope
and the template usage is TemplateUsage.NO_SUBPROCESS.ProcessConstants.TemplateUsage,
getUsageAsSubprocess(),
TemplateStatus.isInstantiable(boolean)boolean areInstancesMigratableTo(boolean subprocessScope)
Please note that the returned state will have to be ignored if the request
is for subprocess scope and the template usage is
NO_SUBPROCESS.
subprocessScope - Whether the scope of the asked for template state is
for subprocess usage (template is referenced) or for usage as
top-level process.true if instances may be migrated to the referenced
process template. Ignore the returned value if the request is for
subprocess scope and the template usage is
TemplateUsage.NO_SUBPROCESS.ProcessConstants.TemplateUsage,
getUsageAsSubprocess(),
TemplateStatus.areInstancesMigratableTo(boolean)boolean areInstancesChangeable(boolean subprocessScope)
Please note that the returned comment will have to be ignored if the
request is for subprocess scope and the template usage is
NO_SUBPROCESS.
subprocessScope - Whether the scope of the asked for template state is
for subprocess usage (template is referenced) or for usage as
top-level process.TemplateUsage.NO_SUBPROCESS.TemplateStatus.areInstancesChangeable(boolean)