Class ResetSystemIdCommand
- java.lang.Object
-
- org.apache.karaf.shell.console.AbstractAction
-
- org.apache.karaf.shell.console.OsgiCommandSupport
-
- org.opennms.features.datachoices.shell.internal.ResetSystemIdCommand
-
- 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 ResetSystemIdCommand extends org.apache.karaf.shell.console.OsgiCommandSupport implements org.apache.karaf.shell.api.action.ActionThis 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:
CommandOsgiCommandSupport
-
-
Field Summary
Fields Modifier and Type Field Description StateManagerm_stateManager
-
Constructor Summary
Constructors Constructor Description ResetSystemIdCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected ObjectdoExecute()Deprecated.Objectexecute()voidsetStateManager(StateManager stateManager)Deprecated.
-
-
-
Field Detail
-
m_stateManager
public StateManager m_stateManager
-
-
Method Detail
-
execute
public Object execute() throws Exception
- Specified by:
executein interfaceorg.apache.karaf.shell.api.action.Action- Throws:
Exception
-
doExecute
@Deprecated protected Object doExecute() throws Exception
Deprecated.- Specified by:
doExecutein classorg.apache.karaf.shell.console.AbstractAction- Throws:
Exception
-
setStateManager
@Deprecated public void setStateManager(StateManager stateManager)
Deprecated.
-
-