| Package | Description |
|---|---|
| org.jboss.forge.shell.command | |
| org.jboss.forge.shell.events |
| Modifier and Type | Method and Description |
|---|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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. |
| Modifier and Type | Method and Description |
|---|---|
CommandMetadata |
CommandExecuted.getCommand() |
CommandMetadata |
CommandVetoed.getCommand() |
CommandMetadata |
PreCommandExecution.getCommand() |
| Modifier and Type | Method and Description |
|---|---|
void |
CommandVetoed.setCommand(CommandMetadata command) |
| Constructor and Description |
|---|
CommandExecuted(CommandExecuted.Status status,
CommandMetadata command,
String originalStatement,
Object[] parameters,
Map<Object,Object> context) |
CommandVetoed(CommandMetadata command,
Object[] parameters,
String originalStatement,
Map<Object,Object> context) |
PreCommandExecution(CommandMetadata command,
String originalStatement,
Object[] parameters,
Map<Object,Object> context) |
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.