Package org.flowable.external.worker
Interface WorkerResult.Success
- All Superinterfaces:
WorkerResult
- Enclosing interface:
- WorkerResult
A successful result.
It allows for configuring the completion details.
Can be created via
WorkerResultBuilder.success()-
Nested Class Summary
Nested classes/interfaces inherited from interface org.flowable.external.worker.WorkerResult
WorkerResult.Failure, WorkerResult.Success -
Method Summary
Modifier and TypeMethodDescriptionconvertAndAddJsonVariable(String name, Object value) Provide a variable value of any type that would be converted to a json variable and passed to the Flowable application when completing the job.Provide aJsonNodethat would be passed as a json variable to the Flowable application when completing the job.Provide aBooleanvariable that would be passed to the Flowable application when completing the job.Provide aDoublevariable that would be passed to the Flowable application when completing the job.Provide anIntegervariable that would be passed to the Flowable application when completing the job.Provide aLongvariable that would be passed to the Flowable application when completing the job.Provide aShortvariable that would be passed to the Flowable application when completing the job.Provide aStringvariable that would be passed to the Flowable application when completing the job.Provide anInstantvariable that would be passed to the Flowable application when completing the job.Provide aLocalDatevariable that would be passed to the Flowable application when completing the job.variable(String name, LocalDateTime value) Provide aLocalDateTimevariable that would be passed to the Flowable application when completing the job.Provide aDatevariable that would be passed to the Flowable application when completing the job.
-
Method Details
-
variable
Provide aStringvariable that would be passed to the Flowable application when completing the job.- Parameters:
name- the name of the variablevalue- the value of the variable
-
variable
Provide aShortvariable that would be passed to the Flowable application when completing the job.- Parameters:
name- the name of the variablevalue- the value of the variable
-
variable
Provide anIntegervariable that would be passed to the Flowable application when completing the job.- Parameters:
name- the name of the variablevalue- the value of the variable
-
variable
Provide aLongvariable that would be passed to the Flowable application when completing the job.- Parameters:
name- the name of the variablevalue- the value of the variable
-
variable
Provide aDoublevariable that would be passed to the Flowable application when completing the job.- Parameters:
name- the name of the variablevalue- the value of the variable
-
variable
Provide aBooleanvariable that would be passed to the Flowable application when completing the job.- Parameters:
name- the name of the variablevalue- the value of the variable
-
variable
Provide aDatevariable that would be passed to the Flowable application when completing the job.- Parameters:
name- the name of the variablevalue- the value of the variable
-
variable
Provide anInstantvariable that would be passed to the Flowable application when completing the job.- Parameters:
name- the name of the variablevalue- the value of the variable
-
variable
Provide aLocalDatevariable that would be passed to the Flowable application when completing the job.- Parameters:
name- the name of the variablevalue- the value of the variable
-
variable
Provide aLocalDateTimevariable that would be passed to the Flowable application when completing the job.- Parameters:
name- the name of the variablevalue- the value of the variable
-
variable
Provide aJsonNodethat would be passed as a json variable to the Flowable application when completing the job.- Parameters:
name- the name of the variablevalue- the value of the variable
-
convertAndAddJsonVariable
Provide a variable value of any type that would be converted to a json variable and passed to the Flowable application when completing the job.- Parameters:
name- the name of the variablevalue- the value of the variable
-