public class ShellCommand extends SimpleCommand implements OSGiContext
| Constructor and Description |
|---|
ShellCommand() |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Returns a name for this command.
|
boolean |
isStorageRequired() |
void |
run(CommandContext ctx)
Execute the command
|
void |
setBundleContext(org.osgi.framework.BundleContext context) |
isAvailableInShell, isAvailableOutsideShellgetDescription, getOptions, getUsagepublic void setBundleContext(org.osgi.framework.BundleContext context)
setBundleContext in interface OSGiContextpublic void run(CommandContext ctx) throws CommandException
Commandrun in interface CommandCommandExceptionpublic String getName()
Commandpublic boolean isStorageRequired()
isStorageRequired in interface CommandisStorageRequired in class SimpleCommandCopyright © 2012. All Rights Reserved.