net.officefloor.frame.api.execute
Interface Task<W extends Work,D extends Enum<D>,F extends Enum<F>>

All Known Implementing Classes:
AbstractSingleTask, AutoWireEscalationCauseRouteWorkSource.AutoWireEscalationCauseRouteTask, ClassTask, CleanupTask, CleanupTask, CloseEntityManagerTask, CompleteApplicationHttpAuthenticateTask, ConnectionManagerImpl, GwtServiceTask, HttpChallengeTask, HttpFileFactoryTask, HttpFileWorkSource.SendHttpFileTask, HttpFileWriterTask, HttpParametersLoaderWorkSource.HttpParametersLoaderTask, HttpResponseSendTask, HttpRouteTask, HttpServletTask, HttpTemplateArrayIteratorWorkSource.HttpTemplateArrayIteratorTask, HttpTemplateInitialTask, HttpTemplateTask, HttpUrlContinuationTask, JeeStockPricePublisherWorkSource.JeeStockPricePublisherTask, ManagedObjectHttpAuthenticateTask, ManagedObjectHttpLogoutTask, OnMessageTask, PublishWorkSource.PublishTask, RecycleJdbcTask, RecycleJmsServerTask, ReflectiveWorkBuilder.ReflectiveTaskBuilder, SectionClassWorkSource.SectionTaskFactory, ServerSocketAccepter, ServletBridgeManagedObjectSource.CompleteAsyncContextTask, ServletContainerResourceSectionSource.ServletContainerResourceTask, ServletRouteTask, SocketListener, SslTaskWork, StartApplicationHttpAuthenticateTask

public interface Task<W extends Work,D extends Enum<D>,F extends Enum<F>>

Task of the Work.

Author:
Daniel Sagenschneider

Method Summary
 Object doTask(TaskContext<W,D,F> context)
          Does the task.
 

Method Detail

doTask

Object doTask(TaskContext<W,D,F> context)
              throws Throwable
Does the task.

Parameters:
context - TaskContext for the Task.
Returns:
Parameter for the next Task. This allows stringing Task instances together into a JobSequence.
Throws:
Throwable - Indicating failure of the Task.


Copyright © 2005-2013. All Rights Reserved.