public class ClassTaskFactory extends Object implements TaskFactory<ClassWork,Indexed,Indexed>
TaskFactory
for the ClassTask
.Constructor and Description |
---|
ClassTaskFactory(Method method,
boolean isStaticMethod,
ParameterFactory[] parameters)
Initiate.
|
Modifier and Type | Method and Description |
---|---|
ClassTask |
createTask(ClassWork work)
Creates the
Task . |
Method |
getMethod()
Obtains the
Method . |
public ClassTaskFactory(Method method, boolean isStaticMethod, ParameterFactory[] parameters)
method
- Method
to invoke on the Work
class.isStaticMethod
- Indicates if the Method
is static
.parameters
- ParameterFactory
instances.public ClassTask createTask(ClassWork work)
TaskFactory
Task
.createTask
in interface TaskFactory<ClassWork,Indexed,Indexed>
work
- Work
for the Task
.Task
to be done for the Work
.Copyright © 2005–2016. All rights reserved.