public class TaskFactoryImp extends java.lang.Object implements TaskFactory
DEFAULT_FACTORY_NAME
Constructor and Description |
---|
TaskFactoryImp() |
TaskFactoryImp(java.lang.String factoryname) |
TaskFactoryImp(TaskFactory factory) |
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 TaskFactoryImp()
public TaskFactoryImp(java.lang.String factoryname)
public TaskFactoryImp(TaskFactory factory)
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