public interface IBpmProcessDefinition
Modifier and Type | Method and Description |
---|---|
IBpmProcessStepDefinition |
createStep(String stepID)
Creates a new step definition for this process
|
IBpmProcessTransitionDefinition |
createTransition(String fromStepID,
String toStepID)
Creates a new transition definition between steps
|
void |
deleteStep(String stepID)
Removes step definition by its ID
|
void |
deleteTransition(String fromStepID,
String toStepID)
Removes transition definition between steps
|
void |
generateProcessFile()
Generates process file for this process definition
|
String |
getDescription()
Returns description for process definition
|
String |
getID()
Unique ID (key) for this process definition
|
String |
getName()
Returns name for process definition
|
String |
getProcessFile()
Returns xml for generated .process layout file
|
IBpmProcessStepDefinition |
getStartStep()
Finds start step for this process
|
IBpmProcessStepDefinition |
getStep(String stepID)
Returns a single step by its ID
|
List<IBpmProcessStepDefinition> |
getSteps()
Returns list of declared steps
|
List<IBpmProcessTransitionDefinition> |
getTransitions()
Returns list of declared transitions
|
void |
layout(int direction)
Re-Generates process layout
|
void |
setDescription(String description)
Sets description for process definition
|
void |
setName(String name)
Sets name for process definition
|
String getID()
String getName()
void setName(String name)
name
- String getDescription()
void setDescription(String description)
description
- List<IBpmProcessStepDefinition> getSteps()
List<IBpmProcessTransitionDefinition> getTransitions()
IBpmProcessStepDefinition getStep(String stepID)
stepID
- IBpmProcessStepDefinition getStartStep()
IBpmProcessStepDefinition createStep(String stepID)
stepID
- void deleteStep(String stepID)
stepID
- IBpmProcessTransitionDefinition createTransition(String fromStepID, String toStepID)
fromStepID
- toStepID
- void deleteTransition(String fromStepID, String toStepID)
fromStepID
- toStepID
- void layout(int direction) throws Exception
direction
- see com.webmethods.process.model.layout.geometryPositionConstants
Exception
void generateProcessFile() throws Exception
Exception
String getProcessFile()