Class DisplayUsageReportCommand
- java.lang.Object
-
- org.apache.karaf.shell.console.AbstractAction
-
- org.apache.karaf.shell.console.OsgiCommandSupport
-
- org.opennms.features.datachoices.shell.internal.DisplayUsageReportCommand
-
- All Implemented Interfaces:
org.apache.felix.gogo.commands.Action
,org.apache.karaf.shell.api.action.Action
,org.apache.karaf.shell.commands.Action
,org.apache.karaf.shell.console.BundleContextAware
public class DisplayUsageReportCommand extends org.apache.karaf.shell.console.OsgiCommandSupport implements org.apache.karaf.shell.api.action.Action
This command implements the Apache Karaf 3 and Apache Karaf 4 shell APIs. Once the Karaf 4 commands work, the deprecated Karaf 3 annotations should be removed:
Command
OsgiCommandSupport
-
-
Field Summary
Fields Modifier and Type Field Description UsageStatisticsReporter
m_usageStatisticsReporter
-
Constructor Summary
Constructors Constructor Description DisplayUsageReportCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected java.lang.Object
doExecute()
Deprecated.java.lang.Object
execute()
void
setUsageStatisticsReporter​(UsageStatisticsReporter usageStatisticsReporter)
Deprecated.
-
-
-
Field Detail
-
m_usageStatisticsReporter
public UsageStatisticsReporter m_usageStatisticsReporter
-
-
Method Detail
-
execute
public java.lang.Object execute() throws java.lang.Exception
- Specified by:
execute
in interfaceorg.apache.karaf.shell.api.action.Action
- Throws:
java.lang.Exception
-
doExecute
@Deprecated protected java.lang.Object doExecute() throws java.lang.Exception
Deprecated.- Specified by:
doExecute
in classorg.apache.karaf.shell.console.AbstractAction
- Throws:
java.lang.Exception
-
setUsageStatisticsReporter
@Deprecated public void setUsageStatisticsReporter​(UsageStatisticsReporter usageStatisticsReporter)
Deprecated.
-
-