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 TaskFactory
public java.lang.String getFactoryDescription()
getFactoryDescription
in interface TaskFactory
public Task createTask(Tool tool, TaskGraph parent, boolean preserveinst) throws TaskException
createTask
in interface TaskFactory
TaskException
protected RunnableInstance initRunnableInstance(Tool tool, TaskGraph parent, boolean preserveinst) throws TaskGraphException
TaskGraphException
public Node createNode(Task task, boolean input)
createNode
in interface TaskFactory
public ParameterNode createParameterNode(java.lang.String paramname, Task task, boolean input)
createParameterNode
in interface TaskFactory
public Cable createCable(Node sendnode, Node recnode) throws CableException
createCable
in interface TaskFactory
CableException