|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.notifd.BroadcastEventProcessor
public final class BroadcastEventProcessor
| Constructor Summary | |
|---|---|
BroadcastEventProcessor()
|
|
| Method Summary | |
|---|---|
void |
close()
Unsubscribe from eventd |
boolean |
computeNullSafeStatus()
|
String |
expandNotifParms(String input,
Map<String,String> paramMap)
A parameter expansion algorithm, designed to replace strings delimited by percent signs '%' with a value supplied by a Map object. |
DestinationPathManager |
getDestinationPathManager()
|
EventIpcManager |
getEventManager()
|
GroupManager |
getGroupManager()
|
String |
getName()
Return an id for this event listener |
Map<String,NoticeQueue> |
getNoticeQueues()
|
NotifdConfigManager |
getNotifdConfigManager()
|
NotificationCommandManager |
getNotificationCommandManager()
|
NotificationManager |
getNotificationManager()
|
PollOutagesConfigManager |
getPollOutagesConfigManager()
|
UserManager |
getUserManager()
|
protected void |
init()
An event listener is created and this instance is setup as the endpoint for broadcast events. |
protected void |
initExpandRe()
Initializes the expansion regular expression. |
void |
onEvent(Event event)
This method is invoked by the EventIpcManager when a new event is available for processing. |
Map<String,String> |
rebuildParameterMap(int notifId,
String resolutionPrefix,
boolean skipNumericPrefix)
|
String |
scheduledOutage(long nodeId,
String theInterface)
Checks the package information for the pollable service and determines if any of the calendar outages associated with the package apply to the current time and the service's interface. |
protected void |
sendResolvedNotificationsToUser(String queueID,
String targetName,
String[] commands,
Map<String,String> params)
|
void |
setDestinationPathManager(DestinationPathManager destinationPathManager)
|
void |
setEventManager(EventIpcManager eventManager)
|
void |
setGroupManager(GroupManager groupManager)
|
void |
setNoticeQueues(Map<String,NoticeQueue> noticeQueues)
|
void |
setNotifdConfigManager(NotifdConfigManager notifdConfigManager)
|
void |
setNotificationCommandManager(NotificationCommandManager notificationCommandManager)
|
void |
setNotificationManager(NotificationManager notificationManager)
|
void |
setPollOutagesConfigManager(PollOutagesConfigManager pollOutagesConfigManager)
|
void |
setUserManager(UserManager userManager)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BroadcastEventProcessor()
| Method Detail |
|---|
protected void init()
protected void initExpandRe()
public void close()
public void onEvent(Event event)
onEvent in interface EventListenerevent - The event .public boolean computeNullSafeStatus()
protected void sendResolvedNotificationsToUser(String queueID,
String targetName,
String[] commands,
Map<String,String> params)
throws Exception
Exception
public String expandNotifParms(String input,
Map<String,String> paramMap)
input - the input stringparamMap - a map that will supply the substitution valuespublic String getName()
getName in interface EventListener
public Map<String,String> rebuildParameterMap(int notifId,
String resolutionPrefix,
boolean skipNumericPrefix)
throws Exception
i -
Exception
public String scheduledOutage(long nodeId,
String theInterface)
IOException
org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.MarshalExceptionpublic DestinationPathManager getDestinationPathManager()
public void setDestinationPathManager(DestinationPathManager destinationPathManager)
public EventIpcManager getEventManager()
public void setEventManager(EventIpcManager eventManager)
public GroupManager getGroupManager()
public void setGroupManager(GroupManager groupManager)
public NotifdConfigManager getNotifdConfigManager()
public void setNotifdConfigManager(NotifdConfigManager notifdConfigManager)
public NotificationCommandManager getNotificationCommandManager()
public void setNotificationCommandManager(NotificationCommandManager notificationCommandManager)
public NotificationManager getNotificationManager()
public void setNotificationManager(NotificationManager notificationManager)
public PollOutagesConfigManager getPollOutagesConfigManager()
public void setPollOutagesConfigManager(PollOutagesConfigManager pollOutagesConfigManager)
public UserManager getUserManager()
public void setUserManager(UserManager userManager)
public Map<String,NoticeQueue> getNoticeQueues()
public void setNoticeQueues(Map<String,NoticeQueue> noticeQueues)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||