public static class AutoWireEscalationCauseRouteWorkSource.AutoWireEscalationCauseRouteTask extends AbstractSingleTask<AutoWireEscalationCauseRouteWorkSource.AutoWireEscalationCauseRouteTask,AutoWireEscalationCauseRouteWorkSource.Dependencies,Indexed>
Task
for the routing the Escalation
cause.Constructor and Description |
---|
AutoWireEscalationCauseRouteTask(Class<? extends Throwable>[] causeRoutes)
Initiate.
|
Modifier and Type | Method and Description |
---|---|
Object |
doTask(TaskContext<AutoWireEscalationCauseRouteWorkSource.AutoWireEscalationCauseRouteTask,AutoWireEscalationCauseRouteWorkSource.Dependencies,Indexed> context)
Does the task.
|
createTask, createWork, getRecycleManagedObjectParameter, registerAsRecycleTask, registerTask, registerTask, registerTask, registerWork
public AutoWireEscalationCauseRouteTask(Class<? extends Throwable>[] causeRoutes)
causeRoutes
- Escalation
cause routes in sequential ordering of
handling flow indexes. Array index matches to flow index.
More specific Escalation
types should be first as
matching is sequential.public Object doTask(TaskContext<AutoWireEscalationCauseRouteWorkSource.AutoWireEscalationCauseRouteTask,AutoWireEscalationCauseRouteWorkSource.Dependencies,Indexed> context) throws Throwable
Task
context
- TaskContext
for the Task
.Task
. This allows stringing
Task
instances together into a JobSequence
.Throwable
- Indicating failure of the Task
.Copyright © 2005–2016. All rights reserved.