Class AlarmNotificationProfile.DisabledProfile
java.lang.Object
com.inductiveautomation.ignition.alarming.notification.AlarmNotificationProfile.DisabledProfile
- All Implemented Interfaces:
AlarmNotificationProfile
- Enclosing interface:
- AlarmNotificationProfile
public static class AlarmNotificationProfile.DisabledProfile
extends Object
implements 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.ACollection
ofConfigurationProperty
s 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.void
Called when the profile has been removed fromAlarmNotificationManager
.void
Called after instantiation and the profile has been added toAlarmNotificationManager
.void
sendNotification
(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, wait
Methods inherited from interface com.inductiveautomation.ignition.alarming.notification.AlarmNotificationProfile
setContextMap
-
Constructor Details
-
DisabledProfile
-
-
Method Details
-
getStatus
Description copied from interface:AlarmNotificationProfile
Returns information about the running status of the profile.- Specified by:
getStatus
in interfaceAlarmNotificationProfile
- Returns:
- a
ProfileStatus
that describes the status of this profile.
-
getName
Description copied from interface:AlarmNotificationProfile
Returns the user-defined name of this profile.- Specified by:
getName
in interfaceAlarmNotificationProfile
- Returns:
- the user-defined name of this profile.
-
sendNotification
Description copied from interface:AlarmNotificationProfile
Notify 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:
sendNotification
in interfaceAlarmNotificationProfile
- Parameters:
notificationContext
- TheNotificationContext
.
-
getProperties
Description copied from interface:AlarmNotificationProfile
ACollection
ofConfigurationProperty
s 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 theNotificationContext
for eachAlarmNotificationProfile.sendNotification(NotificationContext)
call to this profile.- Specified by:
getProperties
in interfaceAlarmNotificationProfile
- Returns:
- A
Collection
ofProperty
s thatAlarmNotificationProfile.sendNotification(NotificationContext)
will expect itsNotificationContext
to have configured.
-
getSupportedContactTypes
- Specified by:
getSupportedContactTypes
in interfaceAlarmNotificationProfile
- Returns:
- a
Collection
ofContactType
s that this profile is capable of sending notification to.
-
onStartup
public void onStartup()Description copied from interface:AlarmNotificationProfile
Called after instantiation and the profile has been added toAlarmNotificationManager
.- Specified by:
onStartup
in interfaceAlarmNotificationProfile
-
onShutdown
public void onShutdown()Description copied from interface:AlarmNotificationProfile
Called 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:
onShutdown
in interfaceAlarmNotificationProfile
-