Class PingOperation
- java.lang.Object
-
- org.opennms.features.topology.api.AbstractOperation
-
- org.opennms.features.topology.netutils.internal.operations.PingOperation
-
- All Implemented Interfaces:
Operation
public class PingOperation extends AbstractOperation
-
-
Field Summary
-
Fields inherited from interface org.opennms.features.topology.api.Operation
OPERATION_CONTEXT_LOCATION, OPERATION_LABEL, OPERATION_MENU_LOCATION
-
-
Constructor Summary
Constructors Constructor Description PingOperation(LocationAwarePingClient pingClient, MonitoringLocationDao monitoringLocationDao, NodeDao nodeDao)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleandisplay(List<VertexRef> targets, OperationContext operationContext)booleanenabled(List<VertexRef> targets, OperationContext operationContext)voidexecute(List<VertexRef> targets, OperationContext operationContext)StringgetId()-
Methods inherited from class org.opennms.features.topology.api.AbstractOperation
getFullUrl, getIpAddrValue, getLabelValue, getNodeIdValue, getVertexItem
-
-
-
-
Constructor Detail
-
PingOperation
public PingOperation(LocationAwarePingClient pingClient, MonitoringLocationDao monitoringLocationDao, NodeDao nodeDao)
-
-
Method Detail
-
execute
public void execute(List<VertexRef> targets, OperationContext operationContext)
-
enabled
public boolean enabled(List<VertexRef> targets, OperationContext operationContext)
- Specified by:
enabledin interfaceOperation- Overrides:
enabledin classAbstractOperation
-
display
public boolean display(List<VertexRef> targets, OperationContext operationContext)
- Specified by:
displayin interfaceOperation- Overrides:
displayin classAbstractOperation
-
getId
public String getId()
- Specified by:
getIdin interfaceOperation- Overrides:
getIdin classAbstractOperation
-
-