Package org.opennms.netmgt.bsm.mock
Class AbstractMockEdge
- java.lang.Object
-
- org.opennms.netmgt.bsm.mock.AbstractMockEdge
-
- All Implemented Interfaces:
Edge
- Direct Known Subclasses:
MockApplicationEdge
,MockChildEdge
,MockIpServiceEdge
,MockReductionKeyEdge
public abstract class AbstractMockEdge extends java.lang.Object implements Edge
-
-
Field Summary
-
Fields inherited from interface org.opennms.netmgt.bsm.service.model.edge.Edge
DEFAULT_WEIGHT
-
-
Constructor Summary
Constructors Constructor Description AbstractMockEdge(java.lang.Long id, MapFunction mapFunction)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete()
java.lang.Long
getId()
MapFunction
getMapFunction()
Status
getOperationalStatus()
java.util.Set<java.lang.String>
getReductionKeys()
BusinessService
getSource()
int
getWeight()
void
setMapFunction(MapFunction mapFunction)
void
setSource(BusinessService source)
void
setWeight(int weight)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opennms.netmgt.bsm.service.model.edge.Edge
accept, getFriendlyName
-
-
-
-
Constructor Detail
-
AbstractMockEdge
public AbstractMockEdge(java.lang.Long id, MapFunction mapFunction)
-
-
Method Detail
-
getSource
public BusinessService getSource()
-
getOperationalStatus
public Status getOperationalStatus()
- Specified by:
getOperationalStatus
in interfaceEdge
-
setMapFunction
public void setMapFunction(MapFunction mapFunction)
- Specified by:
setMapFunction
in interfaceEdge
-
setSource
public void setSource(BusinessService source)
-
getReductionKeys
public java.util.Set<java.lang.String> getReductionKeys()
- Specified by:
getReductionKeys
in interfaceEdge
-
getMapFunction
public MapFunction getMapFunction()
- Specified by:
getMapFunction
in interfaceEdge
-
-