Package org.apache.felix.dm.shell
Class DMCommand
java.lang.Object
org.apache.felix.dm.shell.DMCommand
Shell command for showing all services and dependencies that are managed
by the dependency manager.
- Author:
- Felix Project Team
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddm(org.apache.felix.service.command.CommandSession session, boolean nodeps, String compact, boolean notavail, boolean wtf, boolean stats, String services, String components, String componentIds, String bundleIds, int top) Dependency Manager "dm" command.voidwtf()
-
Constructor Details
-
DMCommand
public DMCommand(org.osgi.framework.BundleContext context) Constructor.
-
-
Method Details
-
dm
public void dm(org.apache.felix.service.command.CommandSession session, boolean nodeps, String compact, boolean notavail, boolean wtf, boolean stats, String services, String components, String componentIds, String bundleIds, int top) throws Throwable Dependency Manager "dm" command. We use gogo annotations, in order to automate documentation, and also to automatically manage optional flags/options and parameters ordering.- Parameters:
session- the gogo command session, used to get some variables declared in the shell This parameter is automatically passed by the gogo runtime.nodeps- false means that dependencies are not displayedcompact- true means informations are displayed in a compact format. This parameter can also be set using the "dependencymanager.compact" gogo shell variable.notavail- only unregistered components / unavailable dependencies are displayedstats- true means some statistics are displayedservices- an osgi filter used to filter on some given osgi service properties. This parameter can also be set using the "dependencymanager.services" gogo shell variable.components- a regular expression to match either component implementation class names. This parameter can also be set using the "dependencymanager.components" gogo shell variable.componentIds- only components matching one of the specified components ids are displayedbundleIds- a list of bundle ids or symbolic names, used to filter on some given bundles- Throws:
Throwable
-
wtf
public void wtf()
-