public class ServletRouteTask extends AbstractSingleTask<ServletRouteTask,ServletRouteTask.DependencyKeys,ServletRouteTask.FlowKeys> implements OfficeAwareWorkFactory<ServletRouteTask>
Modifier and Type | Class and Description |
---|---|
static class |
ServletRouteTask.DependencyKeys
Dependency keys.
|
static class |
ServletRouteTask.FlowKeys
Flow keys.
|
Constructor and Description |
---|
ServletRouteTask() |
Modifier and Type | Method and Description |
---|---|
Object |
doTask(TaskContext<ServletRouteTask,ServletRouteTask.DependencyKeys,ServletRouteTask.FlowKeys> context)
Does the task.
|
void |
setOffice(Office office)
Provides the
WorkFactory its containing Office . |
createTask, createWork, getRecycleManagedObjectParameter, registerAsRecycleTask, registerTask, registerTask, registerTask, registerWork
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createWork
public void setOffice(Office office)
OfficeAwareWorkFactory
WorkFactory
its containing Office
.setOffice
in interface OfficeAwareWorkFactory<ServletRouteTask>
office
- Office
containing this WorkFactory
.public Object doTask(TaskContext<ServletRouteTask,ServletRouteTask.DependencyKeys,ServletRouteTask.FlowKeys> context) throws Exception
Task
doTask
in interface Task<ServletRouteTask,ServletRouteTask.DependencyKeys,ServletRouteTask.FlowKeys>
context
- TaskContext
for the Task
.Task
. This allows stringing
Task
instances together into a JobSequence
.Exception
Copyright © 2005–2016. All rights reserved.