public class ExternalWorkerJobFailureBuilderImpl extends Object implements ExternalWorkerJobFailureBuilder
| Modifier and Type | Field and Description |
|---|---|
protected CommandExecutor |
commandExecutor |
protected String |
errorDetails |
protected String |
errorMessage |
protected String |
externalJobId |
protected JobServiceConfiguration |
jobServiceConfiguration |
protected int |
retries |
protected Duration |
retryTimeout |
protected String |
workerId |
| Constructor and Description |
|---|
ExternalWorkerJobFailureBuilderImpl(String externalJobId,
String workerId,
CommandExecutor commandExecutor,
JobServiceConfiguration jobServiceConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
ExternalWorkerJobFailureBuilder |
errorDetails(String errorDetails) |
ExternalWorkerJobFailureBuilder |
errorMessage(String errorMessage) |
void |
fail() |
ExternalWorkerJobFailureBuilder |
retries(int retries) |
ExternalWorkerJobFailureBuilder |
retryTimeout(Duration retryTimeout) |
protected final String externalJobId
protected final String workerId
protected final CommandExecutor commandExecutor
protected final JobServiceConfiguration jobServiceConfiguration
protected String errorMessage
protected String errorDetails
protected int retries
protected Duration retryTimeout
public ExternalWorkerJobFailureBuilderImpl(String externalJobId, String workerId, CommandExecutor commandExecutor, JobServiceConfiguration jobServiceConfiguration)
public ExternalWorkerJobFailureBuilder errorMessage(String errorMessage)
errorMessage in interface ExternalWorkerJobFailureBuilderpublic ExternalWorkerJobFailureBuilder errorDetails(String errorDetails)
errorDetails in interface ExternalWorkerJobFailureBuilderpublic ExternalWorkerJobFailureBuilder retries(int retries)
retries in interface ExternalWorkerJobFailureBuilderpublic ExternalWorkerJobFailureBuilder retryTimeout(Duration retryTimeout)
retryTimeout in interface ExternalWorkerJobFailureBuilderpublic void fail()
fail in interface ExternalWorkerJobFailureBuilderCopyright © 2021 Flowable. All rights reserved.