Class AbstractOperation
- java.lang.Object
-
- org.opennms.features.topology.api.AbstractOperation
-
- All Implemented Interfaces:
Operation
- Direct Known Subclasses:
EventsAlarmsOperation,NodeInfoOperation,PingOperation,ResourceGraphsOperation
public abstract class AbstractOperation extends Object implements Operation
-
-
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 AbstractOperation()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleandisplay(List<VertexRef> targets, OperationContext operationContext)booleanenabled(List<VertexRef> targets, OperationContext operationContext)protected StringgetFullUrl(String urlFragment)StringgetId()protected static StringgetIpAddrValue(OperationContext operationContext, VertexRef target)protected static StringgetLabelValue(OperationContext operationContext, VertexRef target)protected static IntegergetNodeIdValue(OperationContext operationContext, VertexRef target)protected static VertexgetVertexItem(OperationContext operationContext, VertexRef target)
-
-
-
Method Detail
-
display
public boolean display(List<VertexRef> targets, OperationContext operationContext)
-
enabled
public boolean enabled(List<VertexRef> targets, OperationContext operationContext)
-
getLabelValue
protected static String getLabelValue(OperationContext operationContext, VertexRef target)
-
getIpAddrValue
protected static String getIpAddrValue(OperationContext operationContext, VertexRef target)
-
getNodeIdValue
protected static Integer getNodeIdValue(OperationContext operationContext, VertexRef target)
-
getVertexItem
protected static Vertex getVertexItem(OperationContext operationContext, VertexRef target)
-
-