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 booleandisplay(java.util.List<VertexRef> targets, OperationContext operationContext)booleanenabled(java.util.List<VertexRef> targets, OperationContext operationContext)protected java.lang.StringgetFullUrl(java.lang.String urlFragment)java.lang.StringgetId()protected static java.lang.StringgetIpAddrValue(OperationContext operationContext, VertexRef target)protected static java.lang.StringgetLabelValue(OperationContext operationContext, VertexRef target)protected static java.lang.IntegergetNodeIdValue(OperationContext operationContext, VertexRef target)protected static VertexgetVertexItem(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)
-
-