public class TicketNotificationStrategy extends Object implements NotificationStrategy
Modifier and Type | Class and Description |
---|---|
static class |
TicketNotificationStrategy.AlarmState |
protected static class |
TicketNotificationStrategy.AlarmStateRowCallbackHandler |
Constructor and Description |
---|
TicketNotificationStrategy() |
Modifier and Type | Method and Description |
---|---|
protected TicketNotificationStrategy.AlarmState |
getAlarmStateFromEvent(int eventID)
Helper function that gets the alarmid from the eventid
|
protected org.opennms.netmgt.notifd.TicketNotificationStrategy.AlarmType |
getAlarmTypeFromUEI(String eventUEI)
Helper function that determines the alarm type for a given UEI.
|
String |
getName()
Return an id for this notification strategy
|
int |
send(List<Argument> arguments)
send
|
void |
sendCreateTicketEvent(int alarmID,
String alarmUEI)
Helper function that sends the create ticket event
|
public int send(List<Argument> arguments)
send
send
in interface NotificationStrategy
arguments
- a List
object.protected TicketNotificationStrategy.AlarmState getAlarmStateFromEvent(int eventID)
Helper function that gets the alarmid from the eventid
protected org.opennms.netmgt.notifd.TicketNotificationStrategy.AlarmType getAlarmTypeFromUEI(String eventUEI)
Helper function that determines the alarm type for a given UEI.
public void sendCreateTicketEvent(int alarmID, String alarmUEI)
Helper function that sends the create ticket event
Copyright © 2021. All rights reserved.