Package org.opennms.netmgt.model.events
Class AddEventVisitor
- java.lang.Object
-
- org.opennms.netmgt.model.AbstractEntityVisitor
-
- org.opennms.netmgt.model.events.AddEventVisitor
-
- All Implemented Interfaces:
EntityVisitor
public class AddEventVisitor extends AbstractEntityVisitor
-
-
Constructor Summary
Constructors Constructor Description AddEventVisitor(EventForwarder eventForwarder)
Constructor for AddEventVisitor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Event
createNodeAddedEvent(OnmsNode node)
createNodeAddedEventprotected Event
createNodeGainedInterfaceEvent(OnmsIpInterface iface)
createNodeGainedInterfaceEventprotected Event
createNodeGainedServiceEvent(OnmsMonitoredService monSvc)
createNodeGainedServiceEventvoid
visitIpInterface(OnmsIpInterface iface)
void
visitMonitoredService(OnmsMonitoredService monSvc)
void
visitNode(OnmsNode node)
-
Methods inherited from class org.opennms.netmgt.model.AbstractEntityVisitor
visitIpInterfaceComplete, visitMonitoredServiceComplete, visitNodeComplete, visitSnmpInterface, visitSnmpInterfaceComplete
-
-
-
-
Constructor Detail
-
AddEventVisitor
public AddEventVisitor(EventForwarder eventForwarder)
Constructor for AddEventVisitor.
- Parameters:
eventForwarder
- aorg.opennms.netmgt.model.events.EventForwarder
object.
-
-
Method Detail
-
visitNode
public void visitNode(OnmsNode node)
- Specified by:
visitNode
in interfaceEntityVisitor
- Overrides:
visitNode
in classAbstractEntityVisitor
-
visitIpInterface
public void visitIpInterface(OnmsIpInterface iface)
- Specified by:
visitIpInterface
in interfaceEntityVisitor
- Overrides:
visitIpInterface
in classAbstractEntityVisitor
-
visitMonitoredService
public void visitMonitoredService(OnmsMonitoredService monSvc)
- Specified by:
visitMonitoredService
in interfaceEntityVisitor
- Overrides:
visitMonitoredService
in classAbstractEntityVisitor
-
createNodeGainedInterfaceEvent
protected Event createNodeGainedInterfaceEvent(OnmsIpInterface iface)
createNodeGainedInterfaceEvent
- Parameters:
iface
- aOnmsIpInterface
object.- Returns:
- a
Event
object.
-
createNodeGainedServiceEvent
protected Event createNodeGainedServiceEvent(OnmsMonitoredService monSvc)
createNodeGainedServiceEvent
- Parameters:
monSvc
- aOnmsMonitoredService
object.- Returns:
- a
Event
object.
-
-