Class EscalationTaskRunner
- java.lang.Object
-
- de.hybris.platform.b2b.process.approval.actions.EscalationTaskRunner
-
- All Implemented Interfaces:
TaskRunner<EscalationTaskModel>
public class EscalationTaskRunner extends java.lang.Object implements TaskRunner<EscalationTaskModel>
A task which handles order approval escalation.
-
-
Constructor Summary
Constructors Constructor Description EscalationTaskRunner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandleError(TaskService taskService, EscalationTaskModel task, java.lang.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, wait
-
Methods inherited from interface de.hybris.platform.task.TaskRunner
initLoggingCtx, isLoggingSupported, stopLoggingCtx
-
-
-
-
Method Detail
-
run
public void run(TaskService taskService, EscalationTaskModel task) throws RetryLaterException
- Specified by:
runin interfaceTaskRunner<EscalationTaskModel>- Throws:
RetryLaterException
-
handleError
public void handleError(TaskService taskService, EscalationTaskModel task, java.lang.Throwable error)
- Specified by:
handleErrorin interfaceTaskRunner<EscalationTaskModel>
-
setB2bEscalationService
public void setB2bEscalationService(B2BEscalationService b2bEscalationService)
Sets the b2b escalation service.- Parameters:
b2bEscalationService- the b2bEscalationService to set
-
-