public class ProcessDefinition extends Object
StartEvent,| Constructor and Description |
|---|
ProcessDefinition() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,EndEvent> |
getEndEvents()
Returns a map containing the end events of the process description.
|
String |
getId()
Returns the unique identifier of the process definition.
|
ProcessNode |
getProcessNode(String id)
Returns the process node associated with the given
id. |
StartEvent |
getStartEvent()
Returns the start event of the process definition.
|
Map<String,TaskInfo> |
getTaskInfos()
Returns a map containing the tasks of the process definition.
|
void |
setEndEvents(Map<String,EndEvent> endEvents)
Sets a map containing the end events of the process description.
|
void |
setId(String id)
Sets the unique identifier of the process definition.
|
void |
setStartEvent(StartEvent startEvent)
Sets the start event of the process definition.
|
void |
setTaskInfos(Map<String,TaskInfo> taskInfos)
Sets the map containing the tasks.
|
String |
toString() |
public String getId()
null if process definition comes from
ProcessDefinitionParser).public void setId(String id)
id - The unique identifier.public StartEvent getStartEvent()
null if process definition comes from ProcessDefinitionParser).public void setStartEvent(StartEvent startEvent)
startEvent - The start event.public Map<String,TaskInfo> getTaskInfos()
null if process definition comes from ProcessDefinitionParser).public void setTaskInfos(Map<String,TaskInfo> taskInfos)
taskInfos - The map containing the tasks.public Map<String,EndEvent> getEndEvents()
null if process definition comes from
ProcessDefinitionParser).public void setEndEvents(Map<String,EndEvent> endEvents)
endEvents - The map containing the end events.public ProcessNode getProcessNode(String id)
id.id - The identifier of the process node.id exists).Copyright © 2017. All rights reserved.