public interface AvailableCommands
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 |
---|---|
String |
getArgDescription(String namespace,
String command,
String argument)
Returns the value of the description field for this argument.
|
boolean |
getArgRequired(String namespace,
String command,
String argument)
Returns the value of the required field for this argument.
|
String |
getArgTooltip(String namespace,
String command,
String argument)
Returns the value of the tooltip field for this argument.
|
Class<?> |
getArgType(String namespace,
String command,
String argument)
Returns the type of the argument.
|
String |
getArgTypeString(String namespace,
String command,
String argument)
Returns a human-readable string for this argument of the form:
argument=<type>
|
List<String> |
getArguments(String namespace,
String command)
Returns a list of arguments for the specified namespace and command in alphabetical order.
|
Object |
getArgValue(String namespace,
String command,
String argument)
Returns the value of the argument.
|
List<String> |
getCommands(String namespace)
Returns a list of available commands in alphabetical order for the specified namespace.
|
String |
getDescription(String namespace,
String command)
Returns the description of the specified command in the specified namespace.
|
List<String> |
getNamespaces()
Returns a list of available command namespaces in alphabetical order.
|
List<String> getNamespaces()
List<String> getCommands(String namespace)
namespace
- The namespace whose available commands we want to know about.String getDescription(String namespace, String command)
namespace
- The namespace for the command whose description we want to know about.command
- The command within the specified namespace whose description we want to know about.List<String> getArguments(String namespace, String command)
namespace
- The namespace for the command whose arguments we want to know about.command
- The command within the specified namespace whose arguments we want to know about.boolean getArgRequired(String namespace, String command, String argument)
namespace
- The namespace for the command whose argument we want to know about.command
- The command within the specified namespace whose argument we want to know about.argument
- The argument we want to know aboutString getArgTooltip(String namespace, String command, String argument)
namespace
- The namespace for the command whose argument we want to know about.command
- The command within the specified namespace whose argument we want to know about.argument
- The argument we want to know aboutString getArgDescription(String namespace, String command, String argument)
namespace
- The namespace for the command whose argument we want to know about.command
- The command within the specified namespace whose argument we want to know about.argument
- The argument we want to know aboutClass<?> getArgType(String namespace, String command, String argument)
namespace
- The namespace for the command whose argument we want to know about.command
- The command within the specified namespace whose argument we want to know about.argument
- The argument we want to know aboutObject getArgValue(String namespace, String command, String argument)
namespace
- The namespace for the command whose argument we want to know about.command
- The command within the specified namespace whose argument we want to know about.argument
- The argument we want to know aboutString getArgTypeString(String namespace, String command, String argument)
namespace
- The namespace for the command whose argument we want to know about.command
- The command within the specified namespace whose argument we want to know about.argument
- The argument we want to know aboutCopyright 2011-2015 Cytoscape Consortium. All rights reserved.