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