Package org.camunda.automator.definition
Class ScenarioStep
java.lang.Object
org.camunda.automator.definition.ScenarioStep
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumMODE EXECUTION WAIT: the worker wait the waitingTime time ASYNCHRONOUS: the worker release the method, wait asynchrously the waiting time and send back the answer ASYNCHRONOUSLIMITED: same as ASYNCHRONOUS, 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 -
Field Summary
FieldsModifier and TypeFieldDescriptionif the step is used in a WarmingUp operation, it can decide this is the time to finish it Expression is UserTaskThreashold(, ) -
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)
-
Field Details
-
endWarmingUp
if the step is used in a WarmingUp operation, it can decide this is the time to finish it Expression is UserTaskThreashold(, )
-
-
Constructor Details
-
ScenarioStep
-
-
Method Details
-
createStepCreate
-
createStepUserTask
-
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
-