public static interface CreateJobCommandStep1.CreateJobCommandStep2 extends FinalCommandStep<JobEvent>
Modifier and Type | Method and Description |
---|---|
CreateJobCommandStep1.CreateJobCommandStep2 |
addCustomHeader(String key,
Object value)
Add the key-value-pair to the custom headers.
|
CreateJobCommandStep1.CreateJobCommandStep2 |
addCustomHeaders(Map<String,Object> headers)
Add the key-value-pairs to the custom headers.
|
CreateJobCommandStep1.CreateJobCommandStep2 |
payload(InputStream payload)
Set the initial payload of this job.
|
CreateJobCommandStep1.CreateJobCommandStep2 |
payload(Map<String,Object> payload)
Set the initial payload of this job.
|
CreateJobCommandStep1.CreateJobCommandStep2 |
payload(Object payload)
Set the initial payload of this job.
|
CreateJobCommandStep1.CreateJobCommandStep2 |
payload(String payload)
Set the initial payload of this job.
|
CreateJobCommandStep1.CreateJobCommandStep2 |
retries(int retries)
Set the initial retries of this job.
|
send
CreateJobCommandStep1.CreateJobCommandStep2 addCustomHeader(String key, Object value)
key
- the key of the headervalue
- the value of the headerFinalCommandStep.send()
to complete the command and send
it to the broker.CreateJobCommandStep1.CreateJobCommandStep2 addCustomHeaders(Map<String,Object> headers)
headers
- the additional custom headersFinalCommandStep.send()
to complete the command and send
it to the broker.CreateJobCommandStep1.CreateJobCommandStep2 retries(int retries)
retries
- the initial retries of this job. Must be greater than zero.FinalCommandStep.send()
to complete the command and send
it to the broker.CreateJobCommandStep1.CreateJobCommandStep2 payload(InputStream payload)
payload
- the payload (JSON) as streamFinalCommandStep.send()
to complete the command and send
it to the broker.CreateJobCommandStep1.CreateJobCommandStep2 payload(String payload)
payload
- the payload (JSON) as StringFinalCommandStep.send()
to complete the command and send
it to the broker.CreateJobCommandStep1.CreateJobCommandStep2 payload(Map<String,Object> payload)
payload
- the payload as mapFinalCommandStep.send()
to complete the command and send
it to the broker.CreateJobCommandStep1.CreateJobCommandStep2 payload(Object payload)
payload
- the payload as objectFinalCommandStep.send()
to complete the command and send
it to the broker.Copyright © 2017–2018 camunda services GmbH. All rights reserved.