public class NonRunnableTaskFactory extends java.lang.Object implements TaskFactory
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NON_RUNNABLE_FACTORY_DESCRIPTION |
static java.lang.String |
NON_RUNNABLE_FACTORY_NAME |
DEFAULT_FACTORY_NAME
Constructor and Description |
---|
NonRunnableTaskFactory() |
NonRunnableTaskFactory(java.lang.String factoryname,
java.lang.String description) |
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() |
public static final java.lang.String NON_RUNNABLE_FACTORY_NAME
public static final java.lang.String NON_RUNNABLE_FACTORY_DESCRIPTION
public NonRunnableTaskFactory()
public NonRunnableTaskFactory(java.lang.String factoryname, java.lang.String description)
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
public Node createNode(Task task, boolean input) throws NodeException
createNode
in interface TaskFactory
NodeException
public ParameterNode createParameterNode(java.lang.String paramname, Task task, boolean input) throws NodeException
createParameterNode
in interface TaskFactory
NodeException
public Cable createCable(Node sendnode, Node recnode) throws CableException
createCable
in interface TaskFactory
CableException