public interface TaskGraphFactory
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
FACTORY_NAME |
static java.lang.String |
TASKGRAPH_FACTORY_RENDENRING_HINT
The rendering hint used to denote the preferred taskgraph factory
|
Modifier and Type | Method and Description |
---|---|
Cable |
createCable(Node sendnode,
Node recnode) |
TaskGraph |
createGroupTask(Task[] tasks,
TaskGraph parent,
boolean preserveinst) |
Task |
createTask(Tool tool,
TaskGraph parent,
boolean preserveinst) |
TaskGraph |
createTaskGraph(TaskGraph taskgraph,
boolean preserveinst)
Creates an empty, parentless taskgraph inherting properties from the specified taskgraph
|
java.lang.String[] |
getRegisteredProxyTypes() |
TaskFactory[] |
getRegisteredTaskGraphFactories(java.lang.String proxytype) |
boolean |
isRegisteredTaskGraphFactory(java.lang.String proxytype) |
void |
registerTaskGraphFactory(java.lang.String proxytype,
TaskFactory factory)
Registers a taskgraph factory for the specified proxy type.
|
void |
unregisterTaskGraphFactory(java.lang.String proxytype,
TaskFactory factory)
Unregisters a taskgraph factory for a proxy type
|
static final java.lang.String TASKGRAPH_FACTORY_RENDENRING_HINT
static final java.lang.String FACTORY_NAME
void registerTaskGraphFactory(java.lang.String proxytype, TaskFactory factory)
void unregisterTaskGraphFactory(java.lang.String proxytype, TaskFactory factory)
java.lang.String[] getRegisteredProxyTypes()
TaskFactory[] getRegisteredTaskGraphFactories(java.lang.String proxytype)
boolean isRegisteredTaskGraphFactory(java.lang.String proxytype)
Task createTask(Tool tool, TaskGraph parent, boolean preserveinst) throws TaskException
TaskException
TaskGraph createTaskGraph(TaskGraph taskgraph, boolean preserveinst) throws TaskException
TaskException
TaskGraph createGroupTask(Task[] tasks, TaskGraph parent, boolean preserveinst) throws TaskException
TaskException
Cable createCable(Node sendnode, Node recnode) throws CableException
CableException