class ScrShellCommand
extends java.lang.Object
implements org.apache.felix.shell.Command
ScrShellCommand
implements command shell access for the
legacy Apache Felix Shell. The actual implementation of the commands is
found in the ScrCommand
class.Modifier and Type | Field and Description |
---|---|
private static java.lang.String |
CONFIG_CMD |
private static java.lang.String |
DISABLE_CMD |
private static java.lang.String |
ENABLE_CMD |
private static java.lang.String |
HELP_CMD |
private static java.lang.String |
INFO_CMD |
private static java.lang.String |
LIST_CMD |
private ScrCommand |
scrCommand |
Constructor and Description |
---|
ScrShellCommand(ScrCommand scrCommand) |
Modifier and Type | Method and Description |
---|---|
void |
execute(java.lang.String commandLine,
java.io.PrintStream out,
java.io.PrintStream err) |
java.lang.String |
getName() |
java.lang.String |
getShortDescription() |
java.lang.String |
getUsage() |
private void |
help(java.io.PrintStream out,
java.lang.String command) |
private static final java.lang.String HELP_CMD
private static final java.lang.String LIST_CMD
private static final java.lang.String INFO_CMD
private static final java.lang.String ENABLE_CMD
private static final java.lang.String DISABLE_CMD
private static final java.lang.String CONFIG_CMD
private final ScrCommand scrCommand
ScrShellCommand(ScrCommand scrCommand)
public java.lang.String getName()
getName
in interface org.apache.felix.shell.Command
public java.lang.String getUsage()
getUsage
in interface org.apache.felix.shell.Command
public java.lang.String getShortDescription()
getShortDescription
in interface org.apache.felix.shell.Command
public void execute(java.lang.String commandLine, java.io.PrintStream out, java.io.PrintStream err)
execute
in interface org.apache.felix.shell.Command
private void help(java.io.PrintStream out, java.lang.String command)