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
Modifier and Type | Field and Description |
---|---|
UsageStatisticsReporter |
m_usageStatisticsReporter |
Constructor and Description |
---|
DisplayUsageReportCommand() |
Modifier and Type | Method and Description |
---|---|
protected Object |
doExecute()
Deprecated.
|
Object |
execute() |
void |
setUsageStatisticsReporter(UsageStatisticsReporter usageStatisticsReporter)
Deprecated.
|
public UsageStatisticsReporter m_usageStatisticsReporter
@Deprecated protected Object doExecute() throws Exception
doExecute
in class org.apache.karaf.shell.console.AbstractAction
Exception
@Deprecated public void setUsageStatisticsReporter(UsageStatisticsReporter usageStatisticsReporter)
Copyright © 2021. All rights reserved.