net.officefloor.plugin.comet.section
Class PublishWorkSource.PublishTask
java.lang.Object
net.officefloor.frame.util.AbstractSingleTask<PublishWorkSource.PublishTask,PublishWorkSource.Dependencies,Indexed>
net.officefloor.plugin.comet.section.PublishWorkSource.PublishTask
- All Implemented Interfaces:
- TaskFactory<PublishWorkSource.PublishTask,PublishWorkSource.Dependencies,Indexed>, WorkFactory<PublishWorkSource.PublishTask>, Task<PublishWorkSource.PublishTask,PublishWorkSource.Dependencies,Indexed>, Work
- Enclosing class:
- PublishWorkSource
public static class PublishWorkSource.PublishTask
- extends AbstractSingleTask<PublishWorkSource.PublishTask,PublishWorkSource.Dependencies,Indexed>
Task to handle CometPublicationService.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PublishWorkSource.PublishTask
public PublishWorkSource.PublishTask(Map<String,Integer> requestUriPrefixToFlowIndex)
- Initiate.
- Parameters:
requestUriPrefixToFlowIndex - Mapping of request URI prefix to flow index.
doTask
public Object doTask(TaskContext<PublishWorkSource.PublishTask,PublishWorkSource.Dependencies,Indexed> context)
- Description copied from interface:
Task
- Does the task.
- Parameters:
context - TaskContext for the Task.
- Returns:
- Parameter for the next
Task. This allows stringing
Task instances together into a JobSequence.
Copyright © 2005-2013. All Rights Reserved.