BASE_URL_PROPERTY| Constructor and Description |
|---|
CdCommandImpl(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 |
getBaseURL()
Returns the current directory of the impl service.
|
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.
|
void |
setBaseURL(String s)
Sets the current directory of the impl service.
|
public String getName()
Commandpublic String getUsage()
Command
install [ ...]
public String getShortDescription()
CommandgetShortDescription in interface Commandpublic void execute(String s, PrintStream out, PrintStream err)
Commandpublic String getBaseURL()
CdCommandgetBaseURL in interface CdCommandpublic void setBaseURL(String s)
CdCommandsetBaseURL in interface CdCommands - the new value for the base URL.Copyright © 2006–2020 The Apache Software Foundation. All rights reserved.