public class StartCommandImpl extends InstallCommandImpl implements Command
| Constructor and Description |
|---|
StartCommandImpl(org.osgi.framework.BundleContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(String s,
PrintStream out,
PrintStream err)
Executes the command using the supplied command line, output
print stream, and error print stream.
|
String |
getName()
Returns the name of the command that is implemented by the
interface.
|
String |
getShortDescription()
Returns a short description of the command; this description
should be as short as possible.
|
String |
getUsage()
Returns the usage string for the command.
|
installpublic StartCommandImpl(org.osgi.framework.BundleContext context)
public String getName()
CommandgetName in interface CommandgetName in class InstallCommandImplpublic String getUsage()
Command
install [ ...]
getUsage in interface CommandgetUsage in class InstallCommandImplpublic String getShortDescription()
CommandgetShortDescription in interface CommandgetShortDescription in class InstallCommandImplpublic void execute(String s, PrintStream out, PrintStream err)
Commandexecute in interface Commandexecute in class InstallCommandImpls - the complete command line, including the command name.out - the print stream to use for standard output.err - the print stream to use for standard error.Copyright © 2006–2020 The Apache Software Foundation. All rights reserved.