Class EscalationTaskRunner
java.lang.Object
de.hybris.platform.b2b.process.approval.actions.EscalationTaskRunner
- All Implemented Interfaces:
TaskRunner<EscalationTaskModel>
A task which handles order approval escalation.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleError(TaskService taskService, EscalationTaskModel task, Throwable error) voidrun(TaskService taskService, EscalationTaskModel task) voidsetB2bEscalationService(B2BEscalationService b2bEscalationService) Sets the b2b escalation service.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.hybris.platform.task.TaskRunner
initLoggingCtx, isLoggingSupported, stopLoggingCtx
-
Constructor Details
-
EscalationTaskRunner
public EscalationTaskRunner()
-
-
Method Details
-
run
- Specified by:
runin interfaceTaskRunner<EscalationTaskModel>- Throws:
RetryLaterException
-
handleError
- Specified by:
handleErrorin interfaceTaskRunner<EscalationTaskModel>
-
setB2bEscalationService
Sets the b2b escalation service.- Parameters:
b2bEscalationService- the b2bEscalationService to set
-