public interface CommandExecutorTaskFactory
Module: command-executor-api
To use this in your app, include the following dependency in your POM:
<dependency>
<groupId>org.cytoscape</groupId>
<artifactId>command-executor-api</artifactId>
</dependency>| Modifier and Type | Method and Description |
|---|---|
TaskIterator |
createTaskIterator(File commandFile,
TaskObserver observer)
Creates a task iterator that will execute the specified
commands.
|
TaskIterator |
createTaskIterator(List<String> commands,
TaskObserver observer)
Creates a task iterator that will execute the specified
commands.
|
TaskIterator |
createTaskIterator(String namespace,
String command,
Map<String,Object> args,
TaskObserver observer)
Creates a task iterator that will execute the specified
command.
|
TaskIterator |
createTaskIterator(TaskObserver observer,
String... commands)
Creates a task iterator that will execute the specified
commands.
|
TaskIterator createTaskIterator(File commandFile, TaskObserver observer)
commandFile - A file containing a one command string per line,
blank lines, or comment lines beginning with the '#' character.observer - a possible observer for this series of tasksTaskIterator createTaskIterator(TaskObserver observer, String... commands)
observer - a possible observer for this series of taskscommands - One or more strings where each string represents
one command to execute.TaskIterator createTaskIterator(List<String> commands, TaskObserver observer)
commands - One or more strings where each string represents
one command to execute.observer - a possible observer for this series of tasksTaskIterator createTaskIterator(String namespace, String command, Map<String,Object> args, TaskObserver observer)
namespace - the command namespacecommand - the commandargs - the map of argumentsobserver - a possible observer for this series of tasksCopyright 2011 Cytoscape Consortium. All rights reserved.