Class NodeReconciliationAlarm
- java.lang.Object
-
- javax.management.NotificationBroadcasterSupport
-
- org.opendaylight.openflowplugin.applications.southboundcli.alarm.NodeReconciliationAlarm
-
- All Implemented Interfaces:
NotificationBroadcaster
,NotificationEmitter
,NodeReconciliationAlarmMBean
public class NodeReconciliationAlarm extends NotificationBroadcasterSupport implements NodeReconciliationAlarmMBean
-
-
Constructor Summary
Constructors Constructor Description NodeReconciliationAlarm()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearAlarm(String alarmName, String additionalText, String source)
This method is called to clear the raised alarm with the specified alarm name.List<String>
getClearAlarmObject()
This method is called to retrieve the list of the alarm objects to be cleared.List<String>
getRaiseAlarmObject()
This method is called to retrieve the list of alarm objects which are to be raised.void
raiseAlarm(String alarmName, String additionalText, String source)
This method is called to raise the alarm with the specified alarm name.void
setClearAlarmObject(List<String> clearAlarmObject)
This method is called to set the list of alarm objects to be cleared.void
setRaiseAlarmObject(List<String> raiseAlarmObject)
This method is called to set the list of raiseAlarmObjets.-
Methods inherited from class javax.management.NotificationBroadcasterSupport
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification
-
-
-
-
Method Detail
-
setRaiseAlarmObject
public void setRaiseAlarmObject(List<String> raiseAlarmObject)
Description copied from interface:NodeReconciliationAlarmMBean
This method is called to set the list of raiseAlarmObjets. This includes the alarm objects which are to be raised- Specified by:
setRaiseAlarmObject
in interfaceNodeReconciliationAlarmMBean
- Parameters:
raiseAlarmObject
- holds the list of alarm objects
-
getRaiseAlarmObject
public List<String> getRaiseAlarmObject()
Description copied from interface:NodeReconciliationAlarmMBean
This method is called to retrieve the list of alarm objects which are to be raised.- Specified by:
getRaiseAlarmObject
in interfaceNodeReconciliationAlarmMBean
- Returns:
- List of string containing the alarm objects
-
setClearAlarmObject
public void setClearAlarmObject(List<String> clearAlarmObject)
Description copied from interface:NodeReconciliationAlarmMBean
This method is called to set the list of alarm objects to be cleared.- Specified by:
setClearAlarmObject
in interfaceNodeReconciliationAlarmMBean
- Parameters:
clearAlarmObject
- maintains the list of clearable alarm objects
-
getClearAlarmObject
public List<String> getClearAlarmObject()
Description copied from interface:NodeReconciliationAlarmMBean
This method is called to retrieve the list of the alarm objects to be cleared.- Specified by:
getClearAlarmObject
in interfaceNodeReconciliationAlarmMBean
- Returns:
- List of clearable alarm objects
-
raiseAlarm
public void raiseAlarm(String alarmName, String additionalText, String source)
Description copied from interface:NodeReconciliationAlarmMBean
This method is called to raise the alarm with the specified alarm name.- Specified by:
raiseAlarm
in interfaceNodeReconciliationAlarmMBean
- Parameters:
alarmName
- name of the alarm to be raisedadditionalText
- description of alarm eventsource
- source of alarm
-
clearAlarm
public void clearAlarm(String alarmName, String additionalText, String source)
Description copied from interface:NodeReconciliationAlarmMBean
This method is called to clear the raised alarm with the specified alarm name.- Specified by:
clearAlarm
in interfaceNodeReconciliationAlarmMBean
- Parameters:
alarmName
- name of the alarm to be clearedadditionalText
- description of alarm eventsource
- source of alarm
-
-