Class OperationServiceWrapper
- java.lang.Object
-
- org.opennms.features.topology.app.internal.menu.OperationServiceWrapper
-
public class OperationServiceWrapper extends java.lang.Object
Helper object to encapsulate the registeredOperation
with its service properties, as this is needed to build the MenuBar and ContextMenu for the Topology Map.- Author:
- mvrueden
-
-
Constructor Summary
Constructors Constructor Description OperationServiceWrapper(Operation operation, java.util.Map<java.lang.String,java.lang.String> props)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCaption()
java.lang.String
getContextMenuPosition()
java.lang.String
getMenuPosition()
Operation
getOperation()
java.lang.String
toString()
-
-
-
Constructor Detail
-
OperationServiceWrapper
public OperationServiceWrapper(Operation operation, java.util.Map<java.lang.String,java.lang.String> props)
-
-
Method Detail
-
getMenuPosition
public java.lang.String getMenuPosition()
-
getOperation
public Operation getOperation()
-
getContextMenuPosition
public java.lang.String getContextMenuPosition()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getCaption
public java.lang.String getCaption()
-
-