Package org.camunda.automator.definition
Class ScenarioStep
java.lang.Object
org.camunda.automator.definition.ScenarioStep
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumMODE EXECUTION CLASSICAL, WAIT: the worker wait the waitingTime time THREAD, ASYNCHRONOUS: the worker release the method, wait asynchronously the waiting time and send back the answer THREADTOKEN, ASYNCHRONOUSLIMITED: same as THREAD, but use the maxClient information to not accept more than this number In ASYNCHRONOUS, the method can potentially having millions of works in parallel (it acceptworks, but because it finish the method, then Zeebe Client will accept more works. static enum -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidafterUnSerialize(ScenarioExecution scnExecution) voidstatic ScenarioStepcreateStepCreate(ScenarioExecution scnExecution, String starterId) static ScenarioStepcreateStepUserTask(ScenarioExecution scnExecution, String activityId) getDelay()longintintgetTopic()getType()getWaitingTimeDuration(Duration defaultDuration) Return the waiting time in DurationvoidsetNumberOfExecutions(int numberOfExecutions) voidsetScnExecution(ScenarioExecution scnExecution) setType(ScenarioStep.Step type) setVariables(Map<String, Object> variables) voidsetWaitingTime(String waitingTime)
-
Constructor Details
-
ScenarioStep
-
-
Method Details
-
createStepCreate
-
createStepUserTask
-
getInformation
-
getType
-
setType
-
getTaskId
-
setTaskId
-
getUserId
-
setUserId
-
getTopic
-
getVariablesOperations
-
getVariables
-
setVariables
-
getDelay
-
setDelay
-
getWaitingTime
-
setWaitingTime
-
getWaitingTimeDuration
Return the waiting time in Duration- Returns:
- Duration, defaultDuration if error
-
getScnExecution
-
setScnExecution
-
getNumberOfExecutions
public int getNumberOfExecutions() -
setNumberOfExecutions
public void setNumberOfExecutions(int numberOfExecutions) -
getFrequency
-
getNbWorkers
public int getNbWorkers() -
getProcessId
-
getFixedBackOffDelay
public long getFixedBackOffDelay() -
afterUnSerialize
-
checkConsistence
- Throws:
AutomatorException
-
getEndWarmingUp
-
getModeExecution
-