Modifier and Type | Method and Description |
---|---|
void |
AlarmdDriver.sendEvent(Event e) |
void |
ActionVisitor.sendEvent(Event e) |
Constructor and Description |
---|
SendEventAction(Event event) |
Modifier and Type | Method and Description |
---|---|
void |
MockDatabase.acknowledgeNoticesForEvent(Event e) |
void |
MockDatabase.createOutage(MockService svc,
Event svcLostEvent) |
Collection<Integer> |
MockDatabase.findNoticesForEvent(Event event) |
void |
MockDatabase.resolveOutage(MockService svc,
Event svcRegainEvent) |
void |
MockDatabase.writeEvent(Event e) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultEventForwarder.sendNow(Event event)
Send the incoming
Event message into the Camel route
specified by the DefaultDispatcher.m_endpointUri property. |
void |
DefaultEventForwarder.sendNowSync(Event event) |
Modifier and Type | Method and Description |
---|---|
org.opennms.integration.api.v1.model.immutables.ImmutableInMemoryEvent |
InMemoryEventMapper.map(Event event) |
Modifier and Type | Method and Description |
---|---|
static Event |
ModelMappers.toEvent(org.opennms.integration.api.v1.model.InMemoryEvent event) |
Modifier and Type | Method and Description |
---|---|
static org.opennms.integration.api.v1.model.InMemoryEvent |
ModelMappers.toEvent(Event event) |
Modifier and Type | Method and Description |
---|---|
static List<Event> |
EifParser.translateEifToOpenNMS(NodeDao nodeDao,
StringBuilder eifBuff) |
Modifier and Type | Method and Description |
---|---|
AsyncDispatcher<Event> |
EventDispatcherImpl.getAsyncDispatcher() |
Modifier and Type | Method and Description |
---|---|
void |
EventDispatcherImpl.sendNow(Event event) |
void |
EventDispatcherImpl.sendNowSync(Event event) |
Modifier and Type | Method and Description |
---|---|
Event |
EventSinkModule.unmarshalSingleMessage(byte[] bytes) |
Modifier and Type | Method and Description |
---|---|
AggregationPolicy<Event,Log,Log> |
EventSinkModule.getAggregationPolicy() |
Modifier and Type | Method and Description |
---|---|
OpennmsModelProtos.Event.Builder |
ProtobufMapper.toEvent(Event event) |
Modifier and Type | Method and Description |
---|---|
OnmsAlarm |
AlarmPersister.persist(Event event)
persist
|
OnmsAlarm |
AlarmPersisterImpl.persist(Event event) |
Modifier and Type | Method and Description |
---|---|
void |
AlarmPersisterExtension.afterAlarmCreated(OnmsAlarm alarm,
Event event,
OnmsEvent dbEvent)
Invoked by the AlarmPersister after the alarm has been created, but *before*
the call the save the object via the DAO is made.
|
void |
AlarmPersisterExtension.afterAlarmUpdated(OnmsAlarm alarm,
Event event,
OnmsEvent dbEvent)
Invoked by the AlarmPersister after the alarm has been updated, but *before*
the call the save the object via the DAO is made.
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultAlarmService.sendEvent(Event e) |
void |
AlarmService.sendEvent(Event e)
Asynchronously broadcast the given event.
|
Modifier and Type | Method and Description |
---|---|
void |
DroolsNorthbounder.sendEvent(Event event)
Send event.
|
Modifier and Type | Method and Description |
---|---|
Event |
ForceRescanState.createForceRescanEvent()
createForceResanEvent
|
Modifier and Type | Method and Description |
---|---|
static Event |
EventTranslatorConfigFactory.cloneEvent(Event orig)
cloneEvent
|
Event |
SnmpEventInfo.createEvent(String source)
Creates an event from
this . |
Event |
NotificationManager.getEvent(int eventid)
In the absence of DAOs and ORMs this creates an Event object from the persisted
record.
|
Modifier and Type | Method and Description |
---|---|
List<Event> |
EventTranslatorConfigFactory.translateEvent(Event e)
Translate the @param e to a new event
|
List<Event> |
EventTranslatorConfig.translateEvent(Event e)
Translate the @param e to a new event
|
Modifier and Type | Method and Description |
---|---|
Collection<Integer> |
NotificationManager.acknowledgeNotice(Event event,
String uei,
String[] matchList)
acknowledgeNotice
|
Collection<Integer> |
NotificationManager.acknowledgeNoticeBasedOnAlarms(Event event)
acknowledgeNoticeBasedOnAlarms
|
static Event |
EventTranslatorConfigFactory.cloneEvent(Event orig)
cloneEvent
|
Event |
DefaultEventConfDao.findByEvent(Event matchingEvent) |
Notification[] |
NotificationManager.getNotifForEvent(Event event)
getNotifForEvent
|
boolean |
NotifdConfigManager.matchNotificationParameters(Event event,
Notification notification)
matchNotificationParameters
|
protected boolean |
NotificationManager.nodeInterfaceServiceValid(Notification notif,
Event event)
nodeInterfaceServiceValid
|
List<Event> |
EventTranslatorConfigFactory.translateEvent(Event e)
Translate the @param e to a new event
|
List<Event> |
EventTranslatorConfig.translateEvent(Event e)
Translate the @param e to a new event
|
Modifier and Type | Method and Description |
---|---|
Event |
EventConfDao.findByEvent(Event matchingEvent)
findByEvent
|
Modifier and Type | Method and Description |
---|---|
void |
CorrelationEngine.correlate(Event e)
correlate
|
abstract void |
AbstractCorrelationEngine.correlate(Event e)
correlate
|
void |
AbstractCorrelationEngine.sendEvent(Event e)
sendEvent
|
Modifier and Type | Method and Description |
---|---|
Event |
EventParameter.getEvent()
getEvent
|
Event |
Cause.getSymptom()
getSymptom
|
Modifier and Type | Method and Description |
---|---|
void |
DroolsCorrelationEngine.correlate(Event e)
correlate
|
void |
EventParameter.setEvent(Event event)
setEvent
|
void |
Cause.setSymptom(Event symptomEvent)
setSymptom
|
Constructor and Description |
---|
Cause(Cause.Type type,
Long cause,
Event symptom)
Constructor for Cause.
|
Cause(Cause.Type type,
Long cause,
Event symptom,
Integer timerId)
Constructor for Cause.
|
Impact(Long cause,
Event symptom)
Constructor for Impact.
|
PossibleCause(Long cause,
Event symptom)
Constructor for PossibleCause.
|
RootCause(Long cause,
Event symptom)
Constructor for RootCause.
|
Modifier and Type | Method and Description |
---|---|
void |
TransactionAwareEventForwarder.sendNow(Event event)
Asynchronously sends an event to eventd.
|
void |
TransactionAwareEventForwarder.sendNowSync(Event event) |
Modifier and Type | Method and Description |
---|---|
void |
EventExpander.expandEvent(Event event) |
Modifier and Type | Method and Description |
---|---|
Event |
EventWrapper.getEvent()
getEvent
|
Modifier and Type | Method and Description |
---|---|
List<Event> |
EventAnticipator.getAnticipatedEvents() |
List<Event> |
EventAnticipator.getAnticipatedEventsReceived() |
List<Event> |
EventAnticipator.getUnanticipatedEvents() |
Collection<Event> |
EventAnticipator.waitForAnticipated(long millis) |
Modifier and Type | Method and Description |
---|---|
void |
MockEventIpcManager.SendNowHook.afterBroadcast(Event event) |
void |
EventAnticipator.anticipateEvent(Event event) |
void |
EventAnticipator.anticipateEvent(Event event,
boolean checkUnanticipatedList) |
void |
MockEventIpcManager.SendNowHook.beforeBroadcast(Event event) |
void |
MockEventIpcManager.broadcastNow(Event event) |
void |
MockEventIpcManager.broadcastNow(Event event,
boolean synchronous) |
void |
EventAnticipator.eventProcessed(Event event) |
void |
EventAnticipator.eventReceived(Event event) |
Event |
MockEventConfDao.findByEvent(Event matchingEvent) |
Event |
MockEventIpcManager.EmptyEventConfDao.findByEvent(Event matchingEvent) |
void |
MockEventIpcManager.send(Event event) |
void |
MockEventIpcManager.sendEventToListeners(Event event) |
void |
AbstractMockDao.NullEventForwarder.sendNow(Event event) |
void |
MockEventIpcManager.sendNow(Event event) |
void |
MockEventIpcManager.sendNow(Event event,
boolean synchronous) |
void |
AbstractMockDao.NullEventForwarder.sendNowSync(Event event) |
void |
MockEventIpcManager.sendNowSync(Event event) |
Constructor and Description |
---|
EventWrapper(Event event)
Constructor for EventWrapper.
|
Modifier and Type | Method and Description |
---|---|
void |
EventIpcManagerDefaultImpl.broadcastNow(Event event,
boolean synchronous) |
void |
EventExpander.expandEvent(Event e)
This method is invoked to check and configure a received event.
|
void |
EventUtil.expandMapValues(Map<String,String> parmMap,
Event event) |
void |
AbstractEventUtil.expandMapValues(Map<String,String> map,
Event event)
expandMapValues
|
String |
EventUtil.expandParms(String string,
Event event) |
String |
EventUtilDaoImpl.expandParms(String inp,
Event event) |
String |
AbstractEventUtil.expandParms(String inp,
Event event)
Expand the value if it has parms in one of the following formats -
%element% values are expanded to have the value of the element where
'element' is an element in the event DTD - %parm[values-all]% is expanded
to a delimited list of all parmblock values - %parm[names-all]% is
expanded to a list of all parm names - %parm[all]% is expanded to a full
dump of all parmblocks - %parm[name]% is expanded to the value of the
parameter named 'name' - %parm[
|
String |
EventUtil.expandParms(String inp,
Event event,
Map<String,Map<String,String>> decode) |
String |
EventUtilDaoImpl.expandParms(String input,
Event event,
Map<String,Map<String,String>> decode) |
String |
AbstractEventUtil.expandParms(String input,
Event event,
Map<String,Map<String,String>> decode)
Expand the value if it has parms in one of the following formats -
%element% values are expanded to have the value of the element where
'element' is an element in the event DTD - %parm[values-all]% is expanded
to a delimited list of all parmblock values - %parm[names-all]% is
expanded to a list of all parm names - %parm[all]% is expanded to a full
dump of all parmblocks - %parm[name]% is expanded to the value of the
parameter named 'name' - %parm[
|
protected static String |
AbstractEventUtil.getAllParamValues(Event event)
Helper method.
|
protected static String |
AbstractEventUtil.getAllParmNames(Event event)
Helper method.
|
protected static String |
AbstractEventUtil.getAllParmValues(Event event)
Helper method.
|
String |
EventUtil.getEventHost(Event event) |
String |
AbstractEventUtil.getEventHost(Event event)
getEventHost
|
String |
EventUtil.getNamedParmValue(String string,
Event event) |
String |
AbstractEventUtil.getNamedParmValue(String parm,
Event event)
Helper method.
|
protected static String |
AbstractEventUtil.getNumParmName(String parm,
Event event)
Helper method.
|
protected static String |
AbstractEventUtil.getNumParmValue(String parm,
Event event)
Helper method.
|
static Event |
EventExpander.lookup(EventConfDao dao,
Event event)
This method is used to lookup the event configuration object based upon
information in the passed information.
|
void |
EventIpcManagerDefaultImpl.send(Event event)
This method is called to send the event out
|
void |
EventIpcManagerDefaultImpl.sendNow(Event event)
Asynchronously sends an event to eventd.
|
void |
EventIpcManagerDefaultImpl.sendNowSync(Event event) |
Modifier and Type | Method and Description |
---|---|
boolean |
EventHandlerMBeanProxy.processEvent(Event event)
processEvent
|
boolean |
EventIpcManagerEventHandlerProxy.processEvent(Event event)
processEvent
|
boolean |
EventHandler.processEvent(Event event)
processEvent
|
Modifier and Type | Method and Description |
---|---|
Event |
EventConfData.getEvent(Event event)
Get the right configuration for the event - the eventkey is used first.
|
static String |
EventKey.getMaskElementValue(Event event,
String mename)
Get the value of the mask element for this event.
|
Constructor and Description |
---|
EventKey(Event event)
Constructor for this class
|
Modifier and Type | Method and Description |
---|---|
String |
ExpandableParameter.expand(Event event,
Map<String,Map<String,String>> decode) |
String |
EventTemplate.expand(Event event,
Map<String,Map<String,String>> decode) |
String |
ExpandableConstant.expand(Event event,
Map<String,Map<String,String>> decode) |
String |
ExpandableToken.expand(Event event,
Map<String,Map<String,String>> decode)
Expands a token.
|
String |
ExpandableParameterResolver.getValue(String parm,
String parsedParm,
Event event,
EventUtil eventUtil) |
Modifier and Type | Method and Description |
---|---|
SinkModule<Event,Log> |
EventSinkConsumer.getModule() |
Modifier and Type | Method and Description |
---|---|
void |
EventIpcBroadcaster.broadcastNow(Event event,
boolean synchronous)
Called by eventd to send an event to all interested listeners.
|
static String |
EventParameterUtils.format(Event event)
Format the list of event parameters
|
void |
EventProxy.send(Event event)
This method is called to send the event out
|
void |
EventForwarder.sendNow(Event event)
Asynchronously sends an event to eventd.
|
void |
EventForwarder.sendNowSync(Event event)
Synchronously sends an event to eventd.
|
void |
EventWriter.writeEvent(Event e) |
Modifier and Type | Method and Description |
---|---|
static ImmutableEvent |
ImmutableMapper.fromMutableEvent(Event event) |
Modifier and Type | Method and Description |
---|---|
void |
TcpEventProxy.send(Event event)
Deprecated.
This method is called to send the event out
|
Modifier and Type | Method and Description |
---|---|
Event |
StressCommand.JexlEventGenerator.getNextEvent() |
Event |
StressCommand.EventGenerator.getNextEvent() |
Modifier and Type | Method and Description |
---|---|
static Event |
MockEventUtil.createBgpBkTnEvent(String source,
MockNode node,
String ipAddr,
int peerState)
createBgpBkTnEvent
|
Event |
MockInterface.createDeleteEvent()
createDeleteEvent
|
Event |
MockPathOutage.createDeleteEvent() |
abstract Event |
MockElement.createDeleteEvent()
createDeleteEvent
|
Event |
MockService.createDeleteEvent()
createDeleteEvent
|
Event |
MockNode.createDeleteEvent()
createDeleteEvent
|
Event |
MockNetwork.createDeleteEvent()
createDeleteEvent
|
Event |
MockInterface.createDownEvent()
createDownEvent
|
Event |
MockPathOutage.createDownEvent() |
abstract Event |
MockElement.createDownEvent()
createDownEvent
|
Event |
MockService.createDownEvent()
createDownEvent
|
Event |
MockNode.createDownEvent()
createDownEvent
|
Event |
MockNetwork.createDownEvent()
createDownEvent
|
Event |
MockElement.createDownEvent(Date date)
createDownEvent
|
Event |
MockNode.createDownEventWithReason(String reason)
createDownEventWithReason
|
static Event |
MockEventUtil.createEvent(String source,
String uei,
int nodeId,
String ipAddr,
String svcName,
String reason)
createEvent
|
static Event |
MockEventUtil.createInterfaceDeletedEvent(String source,
MockInterface iface)
createInterfaceDeletedEvent
|
static Event |
MockEventUtil.createInterfaceDownEvent(String source,
MockInterface iface)
createInterfaceDownEvent
|
static Event |
MockEventUtil.createInterfaceEvent(String source,
String uei,
MockInterface iface)
createInterfaceEvent
|
static Event |
MockEventUtil.createInterfaceUpEvent(String source,
MockInterface iface)
createInterfaceUpEvent
|
Event |
MockInterface.createNewEvent()
createNewEvent
|
Event |
MockPathOutage.createNewEvent() |
abstract Event |
MockElement.createNewEvent()
createNewEvent
|
Event |
MockService.createNewEvent()
createNewEvent
|
Event |
MockNode.createNewEvent()
createNewEvent
|
Event |
MockNetwork.createNewEvent()
createNewEvent
|
static Event |
MockEventUtil.createNodeAddedEvent(String source,
MockNode node)
createNodeAddedEvent
|
static Event |
MockEventUtil.createNodeDeletedEvent(String source,
MockNode node)
createNodeDeletedEvent
|
static Event |
MockEventUtil.createNodeDownEvent(String source,
MockNode node)
createNodeDownEvent
|
static Event |
MockEventUtil.createNodeDownEventWithReason(String source,
MockNode node,
String reason)
createNodeDownEventWithReason
|
static Event |
MockEventUtil.createNodeEvent(String source,
String uei,
MockNode node)
createNodeEvent
|
static Event |
MockEventUtil.createNodeEventWithReason(String source,
String uei,
MockNode node,
String reason)
createNodeEventWithReason
|
static Event |
MockEventUtil.createNodeGainedInterfaceEvent(String source,
MockInterface iface)
createNodeGainedInterfaceEvent
|
static Event |
MockEventUtil.createNodeGainedServiceEvent(String source,
MockService svc)
createNodeGainedServiceEvent
|
Event |
MockNode.createNodeLabelChangedEvent(String newLabel)
createNodeLabelChangedEvent
|
static Event |
MockEventUtil.createNodeLostServiceEvent(String source,
MockService svc)
createNodeLostServiceEvent
|
static Event |
MockEventUtil.createNodeLostServiceEvent(String source,
MockService svc,
String reason)
createNodeLostServiceEvent
|
static Event |
MockEventUtil.createNodeRegainedServiceEvent(String source,
MockService svc)
createNodeRegainedServiceEvent
|
static Event |
MockEventUtil.createNodeUpEvent(String source,
MockNode node)
createNodeUpEvent
|
Event |
MockService.createOutageCreatedEvent() |
static Event |
MockEventUtil.createOutageCreatedEvent(String source,
MockService svc,
String reason) |
Event |
MockService.createOutageResolvedEvent() |
static Event |
MockEventUtil.createOutageResolvedEvent(String source,
MockService svc,
String reason) |
static Event |
MockEventUtil.createReparentEvent(String source,
String ipAddr,
int oldNode,
int newNode)
createReparentEvent
|
Event |
MockService.createResponsiveEvent()
createResponsiveEvent
|
static Event |
MockEventUtil.createResumePollingServiceEvent(String source,
MockService svc)
createResumePollingServiceEvent
|
static Event |
MockEventUtil.createServiceDeletedEvent(String source,
MockService svc)
createServiceDeletedEvent
|
static Event |
MockEventUtil.createServiceEvent(String source,
String uei,
MockService svc,
String reason)
createServiceEvent
|
static Event |
MockEventUtil.createServiceResponsiveEvent(String source,
MockService svc)
createServiceResponsiveEvent
|
static Event |
MockEventUtil.createServiceUnresponsiveEvent(String source,
MockService svc,
String reason)
createServiceUnresponsiveEvent
|
static Event |
MockEventUtil.createSuspendPollingServiceEvent(String source,
MockService svc)
createSuspendPollingServiceEvent
|
Event |
MockService.createUnresponsiveEvent()
createUnresponsiveEvent
|
Event |
MockInterface.createUpEvent()
createUpEvent
|
Event |
MockPathOutage.createUpEvent() |
abstract Event |
MockElement.createUpEvent()
createUpEvent
|
Event |
MockService.createUpEvent()
createUpEvent
|
Event |
MockNode.createUpEvent()
createUpEvent
|
Event |
MockNetwork.createUpEvent()
createUpEvent
|
Event |
MockElement.createUpEvent(Date date)
createUpEvent
|
Modifier and Type | Method and Description |
---|---|
static boolean |
MockEventUtil.eventsMatch(Event e1,
Event e2)
Deprecated.
Use
EventUtils.eventsMatch(Event,Event) instead |
static boolean |
MockEventUtil.eventsMatchDeep(Event e1,
Event e2)
eventsMatchDeep
|
static boolean |
MockEventUtil.eventsMatchDeep(Event e1,
Event e2,
long toleratedTimestampOffset)
eventsMatchDeep
|
static void |
MockEventUtil.printEvent(String prefix,
Event event)
printEvent
|
static void |
MockEventUtil.setEventTime(Event event,
Date date)
setEventTime
|
Modifier and Type | Method and Description |
---|---|
static void |
MockEventUtil.printEvents(String prefix,
Collection<Event> events)
printEvents
|
Modifier and Type | Method and Description |
---|---|
void |
OnmsEvent.setEventParametersFromEvent(Event event) |
Constructor and Description |
---|
OnmsAcknowledgment(Event e)
Constructor for OnmsAcknowledgment.
|
Modifier and Type | Method and Description |
---|---|
static Event |
EventUtils.createApplicationDeletedEvent(String source,
int applicationId,
String applicationName)
Constructs a applicationDeleted Event for a given application id and name
|
static Event |
EventUtils.createAssetInfoChangedEvent(String source,
long nodeId,
long txNo)
Construct a deleteNode event for the given nodeId.
|
static Event |
EventUtils.createDeleteInterfaceEvent(String source,
long nodeId,
String ipAddr,
int ifIndex,
long txNo)
Constructs a deleteInterface event for the given nodeId, ipAddress (or ifIndex) pair.
|
static Event |
EventUtils.createDeleteNodeEvent(String source,
long nodeId,
long txNo) |
static Event |
EventUtils.createDeleteServiceEvent(String source,
long nodeId,
String ipAddr,
String service,
long txNo)
Constructs a deleteService event for the given nodeId, ipAddress,
serviceName triple.
|
static Event |
EventUtils.createInterfaceDeletedEvent(String source,
int nodeId,
InetAddress addr)
Construct an interfaceDeleted event for an interface.
|
protected Event |
AddEventVisitor.createNodeAddedEvent(OnmsNode node)
createNodeAddedEvent
|
static Event |
EventUtils.createNodeAddedEvent(String source,
int nodeId,
String nodeLabel,
OnmsNode.NodeLabelSource labelSource)
createNodeAddedEvent
|
static Event |
EventUtils.createNodeCategoryMembershipChangedEvent(String source,
Integer nodeId,
String nodeLabel,
String[] categoriesAdded,
String[] categoriesDeleted) |
static Event |
EventUtils.createNodeDeletedEvent(String source,
int nodeId,
String hostName,
String nodeLabel,
OnmsMonitoringLocation nodeLocation,
String nodeForeignId,
String nodeForeignSource,
OnmsIpInterface nodePrimaryInterface)
This method is responsible for generating a nodeDeleted event and sending
it to eventd..
|
protected Event |
AddEventVisitor.createNodeGainedInterfaceEvent(OnmsIpInterface iface)
createNodeGainedInterfaceEvent
|
static Event |
EventUtils.createNodeGainedInterfaceEvent(String source,
int nodeId,
InetAddress ifaddr)
createNodeGainedInterfaceEvent
|
protected Event |
AddEventVisitor.createNodeGainedServiceEvent(OnmsMonitoredService monSvc)
createNodeGainedServiceEvent
|
static Event |
EventUtils.createNodeGainedServiceEvent(String source,
int nodeId,
InetAddress ifaddr,
String service,
String nodeLabel,
OnmsNode.NodeLabelSource labelSource,
String sysName,
String sysDescr)
createNodeGainedServiceEvent
|
static Event |
EventUtils.createNodeLocationChangedEvent(String source,
Integer nodeId,
String nodeLabel,
String prevLocation,
String currentLocation)
createNodeLocationChangedEvent
|
static Event |
EventUtils.createNodeUpdatedEvent(String source,
Integer nodeId,
String nodeLabel,
OnmsNode.NodeLabelSource labelSource,
String rescanExisting)
createNodeUpdatedEvent
|
static Event |
EventUtils.createServiceDeletedEvent(String source,
int nodeId,
InetAddress addr,
String service)
Constructs a serviceDeleted Event for the nodeId, ipAddr, serviceName
triple
|
Event |
EventBuilder.getEvent()
getEvent
|
Event |
NodeLabelChangedEventBuilder.getEvent() |
Modifier and Type | Method and Description |
---|---|
static void |
EventUtils.checkInterface(Event e)
Ensures the given event has an interface
|
static void |
EventUtils.checkNodeId(Event e)
Ensures that the given Event has a node id
|
static void |
EventUtils.checkService(Event e)
Ensures that the given event has a service parameter
|
static boolean |
EventUtils.eventsMatch(Event e1,
Event e2)
eventsMatch
|
static int |
EventUtils.getIntParm(Event e,
String parmName,
int defaultValue)
Retrieve the value associated with an event parameter and parse it to an
int.
|
static long |
EventUtils.getLongParm(Event e,
String parmName,
long defaultValue)
Retrieve the value associated with an event parameter and parse it to a
long.
|
static String |
EventUtils.getParm(Event e,
String parmName)
Return the value of an event parameter of null if it does not exist.
|
static String |
EventUtils.getParm(Event e,
String parmName,
String defaultValue)
Retrieve a parameter from and event, returning defaultValue of the
parameter is not set.
|
static void |
EventUtils.requireParm(Event e,
String parmName)
Throw an exception if an event does have the required parameter
|
static String |
EventUtils.toString(Event event)
toString
|
Constructor and Description |
---|
EventBuilder(Event event)
Constructor for EventBuilder.
|
Modifier and Type | Method and Description |
---|---|
protected Map<String,String> |
BroadcastEventProcessor.buildParameterMap(Notification notification,
Event event,
int noticeId) |
Modifier and Type | Method and Description |
---|---|
Event |
DefaultPollContext.createEvent(String uei,
int nodeId,
InetAddress address,
String svcName,
Date date,
String reason)
createEvent
|
Modifier and Type | Method and Description |
---|---|
PollEvent |
DefaultPollContext.sendEvent(Event event)
sendEvent
|
Modifier and Type | Method and Description |
---|---|
Event |
PollableInterface.createDownEvent(Date date)
createDownEvent
|
Event |
PollableNetwork.createDownEvent(Date date)
createDownEvent
|
abstract Event |
PollableElement.createDownEvent(Date date)
createDownEvent
|
Event |
PollableService.createDownEvent(Date date)
createDownEvent
|
Event |
PollableNode.createDownEvent(Date date)
createDownEvent
|
Event |
PollContext.createEvent(String uei,
int nodeId,
InetAddress address,
String svcName,
Date date,
String reason)
createEvent
|
Event |
PollableService.createResponsiveEvent(Date date)
createResponsiveEvent
|
Event |
PollableService.createUnresponsiveEvent(Date date)
createUnresponsiveEvent
|
Event |
PollableInterface.createUpEvent(Date date)
createUpEvent
|
Event |
PollableNetwork.createUpEvent(Date date)
createUpEvent
|
abstract Event |
PollableElement.createUpEvent(Date date)
createUpEvent
|
Event |
PollableService.createUpEvent(Date date)
createUpEvent
|
Event |
PollableNode.createUpEvent(Date date)
createUpEvent
|
Modifier and Type | Method and Description |
---|---|
PollEvent |
PollContext.sendEvent(Event event)
sendEvent
|
Modifier and Type | Method and Description |
---|---|
protected String |
Provisioner.getEventForeignSource(Event event)
getEventForeignSource
|
Modifier and Type | Method and Description |
---|---|
void |
TimeTrackingMonitor.beginSendingEvents(ImportOperation oper,
List<Event> events)
beginSendingEvents
|
void |
TimeTrackingMonitor.finishSendingEvents(ImportOperation oper,
List<Event> events)
finishSendingEvents
|
Modifier and Type | Method and Description |
---|---|
void |
NoOpProvisionMonitor.beginSendingEvents(ImportOperation oper,
List<Event> events)
beginSendingEvents
|
void |
ProvisionMonitor.beginSendingEvents(ImportOperation oper,
List<Event> events)
beginSendingEvents
|
void |
NoOpProvisionMonitor.finishSendingEvents(ImportOperation oper,
List<Event> events)
finishSendingEvents
|
void |
ProvisionMonitor.finishSendingEvents(ImportOperation oper,
List<Event> events)
finishSendingEvents
|
Modifier and Type | Method and Description |
---|---|
protected abstract Event |
AbstractEventPolicyRule.expand(Event event) |
protected Event |
EventPolicyRuleDefaultImpl.expand(Event event) |
Event |
AbstractEventForwarder.filter(Event event) |
Event |
AbstractEventPolicyRule.filter(Event event) |
Event |
EventPolicyRule.filter(Event event)
Method to decide if the event
should be forwarder
|
Modifier and Type | Method and Description |
---|---|
List<Event> |
EventSynchronization.getEvents()
Calling this method get the synchronization
Events
|
List<Event> |
AlarmEventSynchronization.getEvents() |
Modifier and Type | Method and Description |
---|---|
protected abstract Event |
AbstractEventPolicyRule.expand(Event event) |
protected Event |
EventPolicyRuleDefaultImpl.expand(Event event) |
Event |
AbstractEventForwarder.filter(Event event) |
Event |
AbstractEventPolicyRule.filter(Event event) |
Event |
EventPolicyRule.filter(Event event)
Method to decide if the event
should be forwarder
|
void |
SnmpV2TrapEventForwarder.flushEvent(Event event) |
void |
SnmpV1TrapAlarmForwarder.flushEvent(Event event) |
void |
SnmpV2InformAlarmForwarder.flushEvent(Event event) |
void |
SnmpV2TrapAlarmForwarder.flushEvent(Event event) |
void |
SnmpV3TrapEventForwarder.flushEvent(Event event) |
void |
SnmpV3TrapAlarmForwarder.flushEvent(Event event) |
void |
SnmpV2InformEventForwarder.flushEvent(Event event) |
void |
SnmpV3InformEventForwarder.flushEvent(Event event) |
void |
SnmpV1TrapEventForwarder.flushEvent(Event event) |
void |
SnmpV3InformAlarmForwarder.flushEvent(Event event) |
void |
EventForwarder.flushEvent(Event event)
Method used to flush Event
|
void |
EventForwarderDefaultImpl.flushEvent(Event event) |
void |
SnmpV2TrapEventForwarder.flushSyncEvent(Event event) |
void |
SnmpV1TrapAlarmForwarder.flushSyncEvent(Event event) |
void |
SnmpV2InformAlarmForwarder.flushSyncEvent(Event event) |
void |
SnmpV2TrapAlarmForwarder.flushSyncEvent(Event event) |
void |
SnmpV3TrapEventForwarder.flushSyncEvent(Event event) |
void |
SnmpV3TrapAlarmForwarder.flushSyncEvent(Event event) |
void |
SnmpV2InformEventForwarder.flushSyncEvent(Event event) |
void |
SnmpV3InformEventForwarder.flushSyncEvent(Event event) |
void |
SnmpV1TrapEventForwarder.flushSyncEvent(Event event) |
void |
SnmpV3InformAlarmForwarder.flushSyncEvent(Event event) |
void |
EventForwarder.flushSyncEvent(Event event)
Method used to flush Sync Event
|
void |
EventForwarderDefaultImpl.flushSyncEvent(Event event) |
void |
SyslogEventForwarder.forward(Event event,
OnmsNode node)
Forwards an event.
|
void |
SnmpTrapHelper.forwardTrap(Event event,
String destAddr,
int destPort)
Create an SNMP trap, based on the content of the specified event, and
forward the trap to the specified address and port.
|
void |
SnmpTrapHelper.forwardV1Trap(Event event,
String destAddr,
int destPort)
Create an SNMP V1 trap, based on the content of the specified event, and
forward the trap to the specified address and port.
|
void |
SnmpTrapHelper.forwardV2Trap(Event event,
String destAddr,
int destPort)
Create an SNMP V2 trap, based on the content of the specified event, and
forward the trap to the specified address and port.
|
boolean |
EventMatch.match(Event event)
Method to decide if the Event matches
|
boolean |
UeiAlarmMatch.match(Event event) |
boolean |
UeiEventMatch.match(Event event) |
void |
SnmpTrapHelper.sendTL1AutonomousMsgTrap(Event event,
String destAddr,
int destPort,
String trapVersion,
String community)
Create an SNMP trap, based on the content of an event derived from a
TL1 autonomous message received by Tl1d, and forward the trap to the
specified address and port.
|
void |
SnmpTrapForwarderHelper.sendV1AlarmTrap(Event event,
boolean sync) |
void |
SnmpTrapForwarderHelper.sendV1EventTrap(Event event) |
void |
SnmpTrapForwarderHelper.sendV2AlarmInform(Event event,
boolean sync) |
void |
SnmpTrapForwarderHelper.sendV2AlarmTrap(Event event,
boolean sync) |
void |
SnmpTrapForwarderHelper.sendV2EventInform(Event event) |
void |
SnmpTrapForwarderHelper.sendV2EventTrap(Event event) |
void |
SnmpTrapForwarderHelper.sendV3AlarmInform(Event event,
boolean sync) |
void |
SnmpTrapForwarderHelper.sendV3AlarmTrap(Event event,
boolean sync) |
void |
SnmpTrapForwarderHelper.sendV3EventInform(Event event) |
void |
SnmpTrapForwarderHelper.sendV3EventTrap(Event event) |
Modifier and Type | Method and Description |
---|---|
Event |
DefaultPollContext.createEvent(String uei,
int nodeId,
String addr,
String netMask,
Date date,
OnmsSnmpInterface snmpinterface)
createEvent
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultPollContext.sendEvent(Event event)
sendEvent
|
Modifier and Type | Method and Description |
---|---|
Event |
PollContext.createEvent(String uei,
int nodeId,
String address,
String netMask,
Date date,
OnmsSnmpInterface snmpinterface)
createEvent
|
Modifier and Type | Method and Description |
---|---|
void |
PollContext.sendEvent(Event event)
sendEvent
|
Modifier and Type | Method and Description |
---|---|
Event |
ConvertToEvent.getEvent()
getEvent
|
Modifier and Type | Method and Description |
---|---|
protected Event |
AbstractThresholdEvaluatorState.createBasicEvent(String uei,
Date date,
double dsValue,
CollectionResourceWrapper resource,
Map<String,String> additionalParams)
createBasicEvent
|
Event |
ThresholdEvaluatorState.getEventForState(ThresholdEvaluatorState.Status status,
Date date,
double dsValue,
ThresholdEvaluatorState.ThresholdValues thresholdValues,
CollectionResourceWrapper resource)
getEventForState
|
Event |
ThresholdEvaluatorRearmingAbsoluteChange.ThresholdEvaluatorStateRearmingAbsoluteChange.getEventForState(ThresholdEvaluatorState.Status status,
Date date,
double dsValue,
ThresholdEvaluatorState.ThresholdValues thresholdValues,
CollectionResourceWrapper resource) |
Event |
ThresholdEvaluatorHighLow.ThresholdEvaluatorStateHighLow.getEventForState(ThresholdEvaluatorState.Status status,
Date date,
double dsValue,
ThresholdEvaluatorState.ThresholdValues thresholdValues,
CollectionResourceWrapper resource) |
Event |
ThresholdEvaluatorAbsoluteChange.ThresholdEvaluatorStateAbsoluteChange.getEventForState(ThresholdEvaluatorState.Status status,
Date date,
double dsValue,
ThresholdEvaluatorState.ThresholdValues thresholdValues,
CollectionResourceWrapper resource) |
Event |
ThresholdEvaluatorRelativeChange.ThresholdEvaluatorStateRelativeChange.getEventForState(ThresholdEvaluatorState.Status status,
Date date,
double dsValue,
ThresholdEvaluatorState.ThresholdValues thresholdValues,
CollectionResourceWrapper resource) |
Modifier and Type | Method and Description |
---|---|
List<Event> |
ThresholdingSetImpl.applyThresholds(CollectionResource resource,
Map<String,CollectionAttribute> attributesMap,
Date collectionTimestamp,
Long sequenceNumber) |
protected List<Event> |
ThresholdingSetImpl.applyThresholds(CollectionResourceWrapper resourceWrapper,
Map<String,CollectionAttribute> attributesMap) |
List<Event> |
ThresholdEntity.evaluateAndCreateEvents(CollectionResourceWrapper resource,
Map<String,Double> values,
Date date)
Evaluates the threshold in light of the provided datasource value, for
the named instance (or the generic instance if instance is null) and
create any events for thresholds.
|
List<Event> |
ThresholdEntity.evaluateAndCreateEvents(Map<String,Double> values,
Date date)
Evaluates the threshold in light of the provided datasource value and
create any events for thresholds.
|
Modifier and Type | Method and Description |
---|---|
void |
ThresholdingEventProxyImpl.send(Event event) |
void |
ThresholdingEventProxyImpl.sendEvent(Event event) |
Modifier and Type | Method and Description |
---|---|
void |
ThresholdingEventProxy.sendEvent(Event event) |
Modifier and Type | Method and Description |
---|---|
protected void |
EventTranslator.handleReloadEvent(Event e)
Re-marshals the translator specs into the factory's config member and
re-registers the UIEs with the eventProxy.
|
Modifier and Type | Method and Description |
---|---|
static Event |
Event.copyFrom(IEvent source) |
Event |
ObjectFactory.createEvent()
Create an instance of
Event |
Event[] |
Events.getEvent()
Method getEvent.Returns the contents of the collection in an
Array.
|
Event |
Events.getEvent(int index)
Method getEvent.
|
Event |
Events.removeEventAt(int index)
Method removeEventAt.
|
Modifier and Type | Method and Description |
---|---|
Enumeration<Event> |
Events.enumerateEvent()
Method enumerateEvent.
|
List<Event> |
Events.getEventCollection()
Method getEventCollection.Returns a reference to
'_eventList'.
|
Iterator<Event> |
Events.iterateEvent()
Method iterateEvent.
|
Modifier and Type | Method and Description |
---|---|
void |
Log.addEvent(Event event) |
void |
Events.addEvent(Event vEvent) |
void |
Events.addEvent(int index,
Event vEvent) |
boolean |
Events.removeEvent(Event vEvent)
Method removeEvent.
|
void |
Events.setEvent(Event[] vEventArray) |
void |
Events.setEvent(int index,
Event vEvent) |
Modifier and Type | Method and Description |
---|---|
void |
Events.setEvent(List<Event> vEventList)
Sets the value of '_eventList' by copying the given Vector.
|
void |
Events.setEventCollection(List<Event> eventList)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Event |
Events.findFirstMatchingEvent(Event matchingEvent) |
String |
Field.get(Event matchingEvent) |
String |
Partition.group(Event matchingEvent) |
String |
EnterpriseIdPartition.group(Event matchingEvent) |
MatchResult |
Event.matches(Event matchingEvent) |
MatchResult |
EventMatcher.matches(Event matchingEvent) |
Modifier and Type | Method and Description |
---|---|
void |
EventForwarderQueueImpl.sendNow(Event event) |
void |
EventForwarderQueueImpl.sendNowSync(Event event)
Call
AggregatingMessageProducer.dispatch(Object) to synchronously
dispatch the event. |
Modifier and Type | Method and Description |
---|---|
void |
EventToIndex.forwardEvents(List<Event> events) |
static void |
ExceptionUtils.handle(Class context,
ConnectionPoolShutdownException ex,
List<Event> events) |
Modifier and Type | Method and Description |
---|---|
List<Event> |
OnmsRestEventsClient.getEvents(Integer limit,
Integer offset) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
EventRestService.publishEvent(Event event) |
Modifier and Type | Method and Description |
---|---|
static List<Event> |
ApplicationEventUtil.getApplicationChangedEvents(Collection<OnmsApplication> applications) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
EventRestService.create(Event event)
NOTE: This method defines an unused parameter of 0 length in the @Path annotation
in order to get CXF to prioritize this method definition instead of the create method
defined in the parent class.
|
protected void |
AbstractDaoRestServiceWithDTO.sendEvent(Event event) |
Copyright © 2021. All rights reserved.