|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.officefloor.plugin.section.clazz.SectionClassWorkSource.SectionTaskFactory
public static class SectionClassWorkSource.SectionTaskFactory
TaskFactory for overriding ClassWorkSource behaviour.
| Constructor Summary | |
|---|---|
SectionClassWorkSource.SectionTaskFactory(Method method,
boolean isStatic,
ParameterFactory[] parameters)
Initiate. |
|
| Method Summary | |
|---|---|
Task<ClassWork,Indexed,Indexed> |
createTask(ClassWork work)
Creates the Task. |
Object |
doTask(TaskContext<ClassWork,Indexed,Indexed> context)
Does the task. |
Method |
getMethod()
Obtains the Method. |
ParameterFactory[] |
getParameterFactories()
Obtains the ParameterFactory instances. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SectionClassWorkSource.SectionTaskFactory(Method method,
boolean isStatic,
ParameterFactory[] parameters)
method - Method for the Task.isStatic - Indicates if the Method is static.parameters - ParameterFactory instances for the parameters of
the Method.| Method Detail |
|---|
public Method getMethod()
Method.
Method.public ParameterFactory[] getParameterFactories()
ParameterFactory instances.
ParameterFactory instances.public Task<ClassWork,Indexed,Indexed> createTask(ClassWork work)
TaskFactoryTask.
createTask in interface TaskFactory<ClassWork,Indexed,Indexed>work - Work for the Task.
Task to be done for the Work.
public Object doTask(TaskContext<ClassWork,Indexed,Indexed> context)
throws Throwable
Task
doTask in interface Task<ClassWork,Indexed,Indexed>context - TaskContext for the Task.
Task. This allows stringing
Task instances together into a JobSequence.
Throwable - Indicating failure of the Task.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||