Command
public class FindCommandImpl extends PsCommandImpl
m_context
Constructor | Description |
---|---|
FindCommandImpl(org.osgi.framework.BundleContext context) |
Modifier and Type | Method | Description |
---|---|---|
void |
execute(String line,
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getStateString, printBundleList
public FindCommandImpl(org.osgi.framework.BundleContext context)
public void execute(String line, PrintStream out, PrintStream err)
Command
execute
in interface Command
execute
in class PsCommandImpl
line
- 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.public String getName()
Command
getName
in interface Command
getName
in class PsCommandImpl
public String getShortDescription()
Command
getShortDescription
in interface Command
getShortDescription
in class PsCommandImpl
public String getUsage()
Command
install[ ...]
getUsage
in interface Command
getUsage
in class PsCommandImpl
Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.