Package org.camunda.automator.definition
Class ScenarioExecution
java.lang.Object
org.camunda.automator.definition.ScenarioExecution
A scenario execution pilot one execution of a scenarioHead
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumDecide what to do when an error is find: stop or continue? default is STOPATFIRSTERROR -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedScenarioExecution(Scenario scenario) Note: when the object is un-serialized from JSON, scnHead is null -
Method Summary
Modifier and TypeMethodDescriptionaddStep(ScenarioStep step) Add a step in the scenariovoidafterUnSerialize(Scenario scnHead) After UnSerialize, all link to parent are not restoredstatic ScenarioExecutioncreateExecution(Scenario scnHead) getName()intintgetSteps()booleansetNumberProcessInstances(int numberProcessInstances) Ask this execution to execute a number of process instance.
-
Constructor Details
-
ScenarioExecution
Note: when the object is un-serialized from JSON, scnHead is null- Parameters:
scenario- root information
-
-
Method Details
-
createExecution
-
afterUnSerialize
After UnSerialize, all link to parent are not restored- Parameters:
scnHead- head of scenario
-
addStep
Add a step in the scenario- Parameters:
step- step part of the scenario- Returns:
- this object
-
getSteps
-
getVerifications
-
getNumberProcessInstances
public int getNumberProcessInstances() -
setNumberProcessInstances
Ask this execution to execute a number of process instance.- Parameters:
numberProcessInstances- number of process instance to execute- Returns:
- this object
-
getScnHead
-
getName
-
setName
-
getNumberOfThreads
public int getNumberOfThreads() -
getPolicy
-
isExecution
public boolean isExecution()
-