public class DesignProcessDefinitionImpl extends ProcessDefinitionImpl implements DesignProcessDefinition, Visitable
| Constructor and Description |
|---|
DesignProcessDefinitionImpl() |
DesignProcessDefinitionImpl(String name,
String version) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(ModelFinderVisitor visitor,
long modelId) |
void |
addActor(ActorDefinition actor) |
void |
addContextEntry(ContextEntry contextEntry) |
void |
addParameter(ParameterDefinition parameter) |
boolean |
equals(Object o) |
ActorDefinition |
getActor(String actorName) |
ActorDefinition |
getActorInitiator()
Retrieves the ActorDefinition of process's actor defined as initiator.
|
Set<ActorDefinition> |
getActors()
Deprecated.
|
List<ActorDefinition> |
getActorsList()
Gets the list of all actors defined on this process.
|
List<ContextEntry> |
getContext() |
ContractDefinition |
getContract()
Contract that must be respected when starting an instance of this process
|
String |
getDisplayDescription()
Retrieves the displayed description of the process definition, as set at design-time.
|
String |
getDisplayName()
Retrieves the displayed name of the process definition, as set at design-time.
|
FlowElementContainerDefinition |
getFlowElementContainer()
Returns a
FlowElementContainerDefinition containing all flow elements of this process. |
Set<ParameterDefinition> |
getParameters()
Retrieves a Set of ParameterDefinition objects from a ProcessDefinition
|
FlowElementContainerDefinition |
getProcessContainer()
Retrieves the definition of the FlowElementContainerDefinition of the process container.
|
String |
getStringIndexLabel(int index)
Retrieves the label for the ProcessDefinition given search index.
|
List<String> |
getStringIndexLabels()
Retrieves the label list for the ProcessDefinition given search index.
|
Expression |
getStringIndexValue(int index)
Retrieves the Expression for the ProcessDefinition given search index.
|
List<Expression> |
getStringIndexValues()
Retrieves the Expression list of the ProcessDefinition search index values.
|
int |
hashCode() |
void |
setActorInitiator(ActorDefinition actorInitiator) |
void |
setContract(ContractDefinition contract) |
void |
setDisplayDescription(String description) |
void |
setDisplayName(String name) |
void |
setProcessContainer(FlowElementContainerDefinition processContainer) |
void |
setStringIndex(int index,
String label,
Expression initialValue) |
String |
toString() |
getDescription, getVersion, setDescriptiongetName, setNamegetId, setIdclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetDescription, getVersiongetNamegetIdpublic void setDisplayName(String name)
public void setDisplayDescription(String description)
public String getDisplayName()
DesignProcessDefinitiongetDisplayName in interface DesignProcessDefinitionpublic String getDisplayDescription()
DesignProcessDefinitiongetDisplayDescription in interface DesignProcessDefinitionpublic List<ActorDefinition> getActorsList()
DesignProcessDefinitiongetActorsList in interface DesignProcessDefinitionActorDefinition objects defined in this process.
@Deprecated public Set<ActorDefinition> getActors()
DesignProcessDefinitiongetActors in interface DesignProcessDefinitionActorDefinition objects.
DesignProcessDefinition.getActorsList()public Set<ParameterDefinition> getParameters()
DesignProcessDefinitiongetParameters in interface DesignProcessDefinitionParameterDefinition objectspublic void addParameter(ParameterDefinition parameter)
public void addActor(ActorDefinition actor)
public ActorDefinition getActorInitiator()
DesignProcessDefinitiongetActorInitiator in interface DesignProcessDefinitionActorDefinition of process's actor defined as initiator.public void setActorInitiator(ActorDefinition actorInitiator)
public FlowElementContainerDefinition getProcessContainer()
DesignProcessDefinition
This method is deprecated. Please, use DesignProcessDefinition.getFlowElementContainer() instead.
getProcessContainer in interface DesignProcessDefinitionFlowElementContainerDefinition of the process container.FlowElementContainerDefinitionpublic void setProcessContainer(FlowElementContainerDefinition processContainer)
public FlowElementContainerDefinition getFlowElementContainer()
DesignProcessDefinitionFlowElementContainerDefinition containing all flow elements of this process.getFlowElementContainer in interface DesignProcessDefinitionFlowElementContainerDefinition containing all flow elements of this process.FlowElementContainerDefinitionpublic String getStringIndexLabel(int index)
DesignProcessDefinitionYou can define up to five search indexes for a process. See more at Define a search index Bonitasoft documentation page
getStringIndexLabel in interface DesignProcessDefinitionindex - The position of search index to retrieve. Valid values are between 1 and 5 (inclusive)public Expression getStringIndexValue(int index)
DesignProcessDefinitionYou can define up to five search indexes for a process. See more at Define a search index Bonitasoft documentation page
getStringIndexValue in interface DesignProcessDefinitionindex - The position of search index to retrieve. Valid values are between 1 and 5 (inclusive)Expression of the search indexpublic ActorDefinition getActor(String actorName)
public void setStringIndex(int index,
String label,
Expression initialValue)
public ContractDefinition getContract()
DesignProcessDefinitiongetContract in interface DesignProcessDefinitionpublic void setContract(ContractDefinition contract)
public List<ContextEntry> getContext()
getContext in interface DesignProcessDefinitionpublic void addContextEntry(ContextEntry contextEntry)
public void accept(ModelFinderVisitor visitor, long modelId)
public List<String> getStringIndexLabels()
DesignProcessDefinitionYou can define up to five search indexes for a process. See more at Define a search index Bonitasoft documentation page
getStringIndexLabels in interface DesignProcessDefinitionpublic List<Expression> getStringIndexValues()
DesignProcessDefinitionYou can define up to five search indexes for a process. See more at Define a search index Bonitasoft documentation page
getStringIndexValues in interface DesignProcessDefinitionExpression list of the search indexpublic boolean equals(Object o)
equals in class ProcessDefinitionImplpublic int hashCode()
hashCode in class ProcessDefinitionImplpublic String toString()
toString in class ProcessDefinitionImplCopyright © 2018 Bonitasoft S.A.. All rights reserved.