|
Forge - Shell API 1.2.0.Final | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use CommandMetadata | |
|---|---|
| org.jboss.forge.shell.command | |
| org.jboss.forge.shell.events | |
| Uses of CommandMetadata in org.jboss.forge.shell.command |
|---|
| Methods in org.jboss.forge.shell.command that return CommandMetadata | |
|---|---|
CommandMetadata |
PluginMetadata.getCommand(String name)
Get the command with the given name, if it exists in this plugin and is not overloaded in multiple Resource scopes. |
CommandMetadata |
PluginMetadata.getCommand(String name,
Class<? extends Resource<?>> scope)
Get the command with the given name and Resource scope, if it exists in this plugin. |
CommandMetadata |
PluginMetadata.getCommand(String name,
Shell shell)
Get the command with the given name if it exists in this plugin, and is available in the current Shell.getCurrentResource() scope. |
CommandMetadata |
PluginMetadata.getDefaultCommand()
Get the default command specified by this plugin. |
CommandMetadata |
OptionMetadata.getParent()
Get the CommandMetadata defining this option. |
CommandMetadata |
PluginMetadata.getSetupCommand()
Get the "setup" command for this plugin. |
| Methods in org.jboss.forge.shell.command that return types with arguments of type CommandMetadata | |
|---|---|
List<CommandMetadata> |
PluginMetadata.getAllCommands()
Get a list of all commands defined by this plugin, regardless of the current Shell.getCurrentResource()
scope or constraints. |
List<CommandMetadata> |
PluginMetadata.getCommands()
Get a list of all commands defined by this plugin, if they are in scope. |
List<CommandMetadata> |
PluginMetadata.getCommands(Shell shell)
For the Shell.getCurrentResource() scope, return a list of all available commands defined by this plugin. |
| Uses of CommandMetadata in org.jboss.forge.shell.events |
|---|
| Methods in org.jboss.forge.shell.events that return CommandMetadata | |
|---|---|
CommandMetadata |
CommandExecuted.getCommand()
|
| Constructors in org.jboss.forge.shell.events with parameters of type CommandMetadata | |
|---|---|
CommandExecuted(CommandExecuted.Status status,
CommandMetadata command,
String originalStatement,
Object[] parameters)
|
|
|
Forge - Shell API 1.2.0.Final | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||