Package org.opennms.netmgt.poller.shell
Class Poll
- java.lang.Object
-
- org.opennms.netmgt.poller.shell.Poll
-
- All Implemented Interfaces:
org.apache.karaf.shell.api.action.Action
public class Poll extends java.lang.Object implements org.apache.karaf.shell.api.action.Action
-
-
Field Summary
Fields Modifier and Type Field Description IpInterfaceDao
ipInterfaceDao
LocationAwarePollerClient
locationAwarePollerClient
NodeDao
nodeDao
SessionUtils
sessionUtils
-
Constructor Summary
Constructors Constructor Description Poll()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
execute()
protected static java.util.Map<java.lang.String,java.lang.Object>
parse(java.util.List<java.lang.String> attributeList)
-
-
-
Field Detail
-
locationAwarePollerClient
public LocationAwarePollerClient locationAwarePollerClient
-
nodeDao
public NodeDao nodeDao
-
ipInterfaceDao
public IpInterfaceDao ipInterfaceDao
-
sessionUtils
public SessionUtils sessionUtils
-
-
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
-
parse
protected static java.util.Map<java.lang.String,java.lang.Object> parse(java.util.List<java.lang.String> attributeList)
-
-