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, isAvailableOutsideShell
getDescription, getOptions, getUsage
public void setBundleContext(org.osgi.framework.BundleContext context)
setBundleContext
in interface OSGiContext
public void run(CommandContext ctx) throws CommandException
Command
run
in interface Command
CommandException
public String getName()
Command
public boolean isStorageRequired()
isStorageRequired
in interface Command
isStorageRequired
in class SimpleCommand
Copyright © 2013. All Rights Reserved.