Package org.opennms.netmgt.snmp.commands
Class ShowConfigCommand
- java.lang.Object
-
- org.opennms.netmgt.snmp.commands.ShowConfigCommand
-
- All Implemented Interfaces:
org.apache.karaf.shell.api.action.Action
public class ShowConfigCommand extends java.lang.Object implements org.apache.karaf.shell.api.action.Action
-
-
Field Summary
Fields Modifier and Type Field Description SnmpAgentConfigFactory
snmpAgentConfigFactory
-
Constructor Summary
Constructors Constructor Description ShowConfigCommand()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
execute()
static void
prettyPrint(SnmpAgentConfig agent)
-
-
-
Field Detail
-
snmpAgentConfigFactory
public SnmpAgentConfigFactory snmpAgentConfigFactory
-
-
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
-
prettyPrint
public static void prettyPrint(SnmpAgentConfig agent)
-
-