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 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(Long id, MapFunction mapFunction)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete()LonggetId()MapFunctiongetMapFunction()StatusgetOperationalStatus()Set<String>getReductionKeys()BusinessServicegetSource()intgetWeight()voidsetMapFunction(MapFunction mapFunction)voidsetSource(BusinessService source)voidsetWeight(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(Long id, MapFunction mapFunction)
-
-
Method Detail
-
getSource
public BusinessService getSource()
-
getOperationalStatus
public Status getOperationalStatus()
- Specified by:
getOperationalStatusin interfaceEdge
-
setMapFunction
public void setMapFunction(MapFunction mapFunction)
- Specified by:
setMapFunctionin interfaceEdge
-
setSource
public void setSource(BusinessService source)
-
getReductionKeys
public Set<String> getReductionKeys()
- Specified by:
getReductionKeysin interfaceEdge
-
getMapFunction
public MapFunction getMapFunction()
- Specified by:
getMapFunctionin interfaceEdge
-
-