Modifier and Type | Field and Description |
---|---|
static String |
BUNDLE_TYPE |
static String |
CAPABILITY |
static String |
FRAGMENT_TYPE |
static String |
PACKAGE_TYPE |
static String |
REQUIREMENT |
static String |
SERVICE_TYPE |
Constructor and Description |
---|
InspectCommandImpl(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.
|
void |
printExportedServices(String[] ids,
PrintStream out,
PrintStream err) |
void |
printImportedServices(String[] ids,
PrintStream out,
PrintStream err) |
public static final String PACKAGE_TYPE
public static final String BUNDLE_TYPE
public static final String FRAGMENT_TYPE
public static final String SERVICE_TYPE
public static final String CAPABILITY
public static final String REQUIREMENT
public InspectCommandImpl(org.osgi.framework.BundleContext context)
public String getName()
Command
public String getUsage()
Command
install[ ...]
public String getShortDescription()
Command
getShortDescription
in interface Command
public void execute(String s, PrintStream out, PrintStream err)
Command
public void printExportedServices(String[] ids, PrintStream out, PrintStream err)
public void printImportedServices(String[] ids, PrintStream out, PrintStream err)
Copyright © 2006–2023 The Apache Software Foundation. All rights reserved.