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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidclearAlarm(String alarmName, String additionalText, String source) This method is called to clear the raised alarm with the specified alarm name.This method is called to retrieve the list of the alarm objects to be cleared.This method is called to retrieve the list of alarm objects which are to be raised.voidraiseAlarm(String alarmName, String additionalText, String source) This method is called to raise the alarm with the specified alarm name.voidsetClearAlarmObject(List<String> clearAlarmObject) This method is called to set the list of alarm objects to be cleared.voidsetRaiseAlarmObject(List<String> raiseAlarmObject) This method is called to set the list of raiseAlarmObjets.Methods inherited from class javax.management.NotificationBroadcasterSupportaddNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification
- 
Constructor Details- 
NodeReconciliationAlarmpublic NodeReconciliationAlarm()
 
- 
- 
Method Details- 
setRaiseAlarmObjectDescription copied from interface:NodeReconciliationAlarmMBeanThis method is called to set the list of raiseAlarmObjets. This includes the alarm objects which are to be raised- Specified by:
- setRaiseAlarmObjectin interface- NodeReconciliationAlarmMBean
- Parameters:
- raiseAlarmObject- holds the list of alarm objects
 
- 
getRaiseAlarmObjectDescription copied from interface:NodeReconciliationAlarmMBeanThis method is called to retrieve the list of alarm objects which are to be raised.- Specified by:
- getRaiseAlarmObjectin interface- NodeReconciliationAlarmMBean
- Returns:
- List of string containing the alarm objects
 
- 
setClearAlarmObjectDescription copied from interface:NodeReconciliationAlarmMBeanThis method is called to set the list of alarm objects to be cleared.- Specified by:
- setClearAlarmObjectin interface- NodeReconciliationAlarmMBean
- Parameters:
- clearAlarmObject- maintains the list of clearable alarm objects
 
- 
getClearAlarmObjectDescription copied from interface:NodeReconciliationAlarmMBeanThis method is called to retrieve the list of the alarm objects to be cleared.- Specified by:
- getClearAlarmObjectin interface- NodeReconciliationAlarmMBean
- Returns:
- List of clearable alarm objects
 
- 
raiseAlarmDescription copied from interface:NodeReconciliationAlarmMBeanThis method is called to raise the alarm with the specified alarm name.- Specified by:
- raiseAlarmin interface- NodeReconciliationAlarmMBean
- Parameters:
- alarmName- name of the alarm to be raised
- additionalText- description of alarm event
- source- source of alarm
 
- 
clearAlarmDescription copied from interface:NodeReconciliationAlarmMBeanThis method is called to clear the raised alarm with the specified alarm name.- Specified by:
- clearAlarmin interface- NodeReconciliationAlarmMBean
- Parameters:
- alarmName- name of the alarm to be cleared
- additionalText- description of alarm event
- source- source of alarm
 
 
-