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 boolean
display(List<VertexRef> targets, OperationContext operationContext)
boolean
enabled(List<VertexRef> targets, OperationContext operationContext)
protected String
getFullUrl(String urlFragment)
String
getId()
protected static String
getIpAddrValue(OperationContext operationContext, VertexRef target)
protected static String
getLabelValue(OperationContext operationContext, VertexRef target)
protected static Integer
getNodeIdValue(OperationContext operationContext, VertexRef target)
protected static Vertex
getVertexItem(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)
-
-