Package org.flowable.job.service.impl
Class ExternalWorkerJobFailureBuilderImpl
java.lang.Object
org.flowable.job.service.impl.ExternalWorkerJobFailureBuilderImpl
- All Implemented Interfaces:
ExternalWorkerJobFailureBuilder
public class ExternalWorkerJobFailureBuilderImpl
extends Object
implements ExternalWorkerJobFailureBuilder
- Author:
- Filip Hrisafov
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final CommandExecutorprotected Stringprotected Stringprotected final Stringprotected final JobServiceConfigurationprotected intprotected Durationprotected final String -
Constructor Summary
ConstructorsConstructorDescriptionExternalWorkerJobFailureBuilderImpl(String externalJobId, String workerId, CommandExecutor commandExecutor, JobServiceConfiguration jobServiceConfiguration) -
Method Summary
Modifier and TypeMethodDescriptionerrorDetails(String errorDetails) errorMessage(String errorMessage) voidfail()retries(int retries) retryTimeout(Duration retryTimeout)
-
Field Details
-
externalJobId
-
workerId
-
commandExecutor
-
jobServiceConfiguration
-
errorMessage
-
errorDetails
-
retries
protected int retries -
retryTimeout
-
-
Constructor Details
-
ExternalWorkerJobFailureBuilderImpl
public ExternalWorkerJobFailureBuilderImpl(String externalJobId, String workerId, CommandExecutor commandExecutor, JobServiceConfiguration jobServiceConfiguration)
-
-
Method Details
-
errorMessage
- Specified by:
errorMessagein interfaceExternalWorkerJobFailureBuilder
-
errorDetails
- Specified by:
errorDetailsin interfaceExternalWorkerJobFailureBuilder
-
retries
- Specified by:
retriesin interfaceExternalWorkerJobFailureBuilder
-
retryTimeout
- Specified by:
retryTimeoutin interfaceExternalWorkerJobFailureBuilder
-
fail
public void fail()- Specified by:
failin interfaceExternalWorkerJobFailureBuilder
-