public class RunnableTaskFactory extends java.lang.Object implements TaskFactory
DEFAULT_FACTORY_NAME| Constructor and Description |
|---|
RunnableTaskFactory()
Constructs a default runnable taskgraph factory
|
RunnableTaskFactory(java.lang.String factoryname)
Constructs a runnable taskgraph factory that uses the specified name
|
| Modifier and Type | Method and Description |
|---|---|
Cable |
createCable(Node sendnode,
Node recnode) |
Node |
createNode(Task task,
boolean input) |
ParameterNode |
createParameterNode(java.lang.String paramname,
Task task,
boolean input) |
Task |
createTask(Tool tool,
TaskGraph parent,
boolean preserveinst) |
java.lang.String |
getFactoryDescription() |
java.lang.String |
getFactoryName() |
protected RunnableInstance |
initRunnableInstance(Tool tool,
TaskGraph parent,
boolean preserveinst) |
public RunnableTaskFactory()
public RunnableTaskFactory(java.lang.String factoryname)
public java.lang.String getFactoryName()
getFactoryName in interface TaskFactorypublic java.lang.String getFactoryDescription()
getFactoryDescription in interface TaskFactorypublic Task createTask(Tool tool, TaskGraph parent, boolean preserveinst) throws TaskException
createTask in interface TaskFactoryTaskExceptionprotected RunnableInstance initRunnableInstance(Tool tool, TaskGraph parent, boolean preserveinst) throws TaskGraphException
TaskGraphExceptionpublic Node createNode(Task task, boolean input)
createNode in interface TaskFactorypublic ParameterNode createParameterNode(java.lang.String paramname, Task task, boolean input)
createParameterNode in interface TaskFactorypublic Cable createCable(Node sendnode, Node recnode) throws CableException
createCable in interface TaskFactoryCableException