Interface ThrowErrorCommandStep1.ThrowErrorCommandStep2
- All Superinterfaces:
FinalCommandStep<Void>
- All Known Implementing Classes:
ThrowErrorCommandImpl
- Enclosing interface:
ThrowErrorCommandStep1
public static interface ThrowErrorCommandStep1.ThrowErrorCommandStep2
extends FinalCommandStep<Void>
-
Method Summary
Modifier and TypeMethodDescriptionerrorMessage
(String errorMsg) Provide an error message describing the reason for the non-technical error.Set a single variable of this job.variables
(InputStream variables) Set the variables of this job.Set the variables of this job.Set the variables of this job.Set the variables of this job.Methods inherited from interface io.camunda.zeebe.client.api.command.FinalCommandStep
requestTimeout, send
-
Method Details
-
errorMessage
Provide an error message describing the reason for the non-technical error. If the error is not caught by an error catch event, this message will be a part of the raised incident.- Parameters:
errorMsg
- error message- Returns:
- the builder for this command. Call
FinalCommandStep.send()
to complete the command and send it to the broker.
-
variables
Set the variables of this job.- Parameters:
variables
- the variables (JSON) as stream- Returns:
- the builder for this command. Call
FinalCommandStep.send()
to complete the command and send it to the broker.
-
variables
Set the variables of this job.- Parameters:
variables
- the variables (JSON) as String- Returns:
- the builder for this command. Call
FinalCommandStep.send()
to complete the command and send it to the broker.
-
variables
Set the variables of this job.- Parameters:
variables
- the variables as map- Returns:
- the builder for this command. Call
FinalCommandStep.send()
to complete the command and send it to the broker.
-
variables
Set the variables of this job.- Parameters:
variables
- the variables as object- Returns:
- the builder for this command. Call
FinalCommandStep.send()
to complete the command and send it to the broker.
-
variable
Set a single variable of this job.- Parameters:
key
- the key of the variable as stringvalue
- the value of the variable as object- Returns:
- the builder for this command. Call
FinalCommandStep.send()
to complete the command and send it to the broker.
-