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, setDescription
getName, setName
getId, setId
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getDescription, getVersion
getName
getId
public void setDisplayName(String name)
public void setDisplayDescription(String description)
public String getDisplayName()
DesignProcessDefinition
getDisplayName
in interface DesignProcessDefinition
public String getDisplayDescription()
DesignProcessDefinition
getDisplayDescription
in interface DesignProcessDefinition
public List<ActorDefinition> getActorsList()
DesignProcessDefinition
getActorsList
in interface DesignProcessDefinition
ActorDefinition
objects defined in this process.
@Deprecated public Set<ActorDefinition> getActors()
DesignProcessDefinition
getActors
in interface DesignProcessDefinition
ActorDefinition
objects.
DesignProcessDefinition.getActorsList()
public Set<ParameterDefinition> getParameters()
DesignProcessDefinition
getParameters
in interface DesignProcessDefinition
ParameterDefinition
objectspublic void addParameter(ParameterDefinition parameter)
public void addActor(ActorDefinition actor)
public ActorDefinition getActorInitiator()
DesignProcessDefinition
getActorInitiator
in interface DesignProcessDefinition
ActorDefinition
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 DesignProcessDefinition
FlowElementContainerDefinition
of the process container.FlowElementContainerDefinition
public void setProcessContainer(FlowElementContainerDefinition processContainer)
public FlowElementContainerDefinition getFlowElementContainer()
DesignProcessDefinition
FlowElementContainerDefinition
containing all flow elements of this process.getFlowElementContainer
in interface DesignProcessDefinition
FlowElementContainerDefinition
containing all flow elements of this process.FlowElementContainerDefinition
public String getStringIndexLabel(int index)
DesignProcessDefinition
You can define up to five search indexes for a process. See more at Define a search index Bonitasoft documentation page
getStringIndexLabel
in interface DesignProcessDefinition
index
- The position of search index to retrieve. Valid values are between 1 and 5 (inclusive)public Expression getStringIndexValue(int index)
DesignProcessDefinition
You can define up to five search indexes for a process. See more at Define a search index Bonitasoft documentation page
getStringIndexValue
in interface DesignProcessDefinition
index
- 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()
DesignProcessDefinition
getContract
in interface DesignProcessDefinition
public void setContract(ContractDefinition contract)
public List<ContextEntry> getContext()
getContext
in interface DesignProcessDefinition
public void addContextEntry(ContextEntry contextEntry)
public void accept(ModelFinderVisitor visitor, long modelId)
public List<String> getStringIndexLabels()
DesignProcessDefinition
You can define up to five search indexes for a process. See more at Define a search index Bonitasoft documentation page
getStringIndexLabels
in interface DesignProcessDefinition
public List<Expression> getStringIndexValues()
DesignProcessDefinition
You can define up to five search indexes for a process. See more at Define a search index Bonitasoft documentation page
getStringIndexValues
in interface DesignProcessDefinition
Expression
list of the search indexpublic boolean equals(Object o)
equals
in class ProcessDefinitionImpl
public int hashCode()
hashCode
in class ProcessDefinitionImpl
public String toString()
toString
in class ProcessDefinitionImpl
Copyright © 2020 Bonitasoft S.A. All rights reserved.