public class PingOperation extends AbstractOperation
OPERATION_CONTEXT_LOCATION, OPERATION_LABEL, OPERATION_MENU_LOCATION
Constructor and Description |
---|
PingOperation(LocationAwarePingClient pingClient,
MonitoringLocationDao monitoringLocationDao,
NodeDao nodeDao) |
Modifier and Type | Method and Description |
---|---|
boolean |
display(List<VertexRef> targets,
OperationContext operationContext) |
boolean |
enabled(List<VertexRef> targets,
OperationContext operationContext) |
void |
execute(List<VertexRef> targets,
OperationContext operationContext) |
String |
getId() |
getFullUrl, getIpAddrValue, getLabelValue, getNodeIdValue, getVertexItem
public PingOperation(LocationAwarePingClient pingClient, MonitoringLocationDao monitoringLocationDao, NodeDao nodeDao)
public void execute(List<VertexRef> targets, OperationContext operationContext)
public boolean enabled(List<VertexRef> targets, OperationContext operationContext)
enabled
in interface Operation
enabled
in class AbstractOperation
public boolean display(List<VertexRef> targets, OperationContext operationContext)
display
in interface Operation
display
in class AbstractOperation
public String getId()
getId
in interface Operation
getId
in class AbstractOperation
Copyright © 2021. All rights reserved.