Class AlarmNotificationProfile.NoOpProfile
java.lang.Object
com.inductiveautomation.ignition.alarming.notification.AlarmNotificationProfile.NoOpProfile
- All Implemented Interfaces:
AlarmNotificationProfile
- Enclosing interface:
- AlarmNotificationProfile
public static class AlarmNotificationProfile.NoOpProfile
extends Object
implements AlarmNotificationProfile
No-op implementation of an AlarmNotificationProfile.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.inductiveautomation.ignition.alarming.notification.AlarmNotificationProfile
AlarmNotificationProfile.DisabledProfile, AlarmNotificationProfile.NoOpProfile -
Field Summary
Fields inherited from interface com.inductiveautomation.ignition.alarming.notification.AlarmNotificationProfile
NO_OP_PROFILE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()Returns the user-defined name of this profile.ACollectionofConfigurationPropertys that will be presented to the user during configuration of a notification block in the alarm pipeline UI.Returns information about the running status of the profile.voidCalled when the profile has been removed fromAlarmNotificationManager.voidCalled after instantiation and the profile has been added toAlarmNotificationManager.voidsendNotification(NotificationContext notificationContext) Notify a list of Users about an alarm using the notification mechanism provided by this profile.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.inductiveautomation.ignition.alarming.notification.AlarmNotificationProfile
setContextMap
-
Constructor Details
-
NoOpProfile
-
-
Method Details
-
getName
Description copied from interface:AlarmNotificationProfileReturns the user-defined name of this profile.- Specified by:
getNamein interfaceAlarmNotificationProfile- Returns:
- the user-defined name of this profile.
-
getStatus
Description copied from interface:AlarmNotificationProfileReturns information about the running status of the profile.- Specified by:
getStatusin interfaceAlarmNotificationProfile- Returns:
- a
ProfileStatusthat describes the status of this profile.
-
sendNotification
Description copied from interface:AlarmNotificationProfileNotify a list of Users about an alarm using the notification mechanism provided by this profile. Implementations must be non-blocking and return quickly, using the notificationContext to call back when the notification work has finished. If some underlying failure in the notification mechanism means no notifications can be sent, useNotificationContext.notificationFailed(com.inductiveautomation.ignition.common.i18n.LocalizedString).- Specified by:
sendNotificationin interfaceAlarmNotificationProfile- Parameters:
notificationContext- TheNotificationContext.
-
getProperties
Description copied from interface:AlarmNotificationProfileACollectionofConfigurationPropertys that will be presented to the user during configuration of a notification block in the alarm pipeline UI. The configured values for these properties will be available in theNotificationContextfor eachAlarmNotificationProfile.sendNotification(NotificationContext)call to this profile.- Specified by:
getPropertiesin interfaceAlarmNotificationProfile- Returns:
- A
CollectionofPropertys thatAlarmNotificationProfile.sendNotification(NotificationContext)will expect itsNotificationContextto have configured.
-
getSupportedContactTypes
- Specified by:
getSupportedContactTypesin interfaceAlarmNotificationProfile- Returns:
- a
CollectionofContactTypes that this profile is capable of sending notification to.
-
onStartup
public void onStartup()Description copied from interface:AlarmNotificationProfileCalled after instantiation and the profile has been added toAlarmNotificationManager.- Specified by:
onStartupin interfaceAlarmNotificationProfile
-
onShutdown
public void onShutdown()Description copied from interface:AlarmNotificationProfileCalled when the profile has been removed fromAlarmNotificationManager. This could be an update to the profile (remove+add), a removal, or shutdown of the system.- Specified by:
onShutdownin interfaceAlarmNotificationProfile
-