public static class AlarmNotificationProfile.NoOpProfile extends java.lang.Object implements AlarmNotificationProfile
AlarmNotificationProfile.DisabledProfile, AlarmNotificationProfile.NoOpProfileNO_OP_PROFILE| Constructor and Description |
|---|
NoOpProfile(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName()
Returns the user-defined name of this profile.
|
java.util.Collection<NotificationProfileProperty<?>> |
getProperties()
A
Collection of ConfigurationPropertys that will be presented to the user during configuration
of a notification block in the alarm pipeline UI. |
ProfileStatus |
getStatus()
Returns information about the running status of the profile.
|
java.util.Collection<ContactType> |
getSupportedContactTypes() |
void |
onShutdown()
Called when the profile has been removed from
AlarmNotificationManager. |
void |
onStartup()
Called after instantiation and the profile has been added to
AlarmNotificationManager. |
void |
sendNotification(NotificationContext notificationContext)
Notify a list of Users about an alarm using the notification mechanism provided by this profile.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetContextMappublic java.lang.String getName()
AlarmNotificationProfilegetName in interface AlarmNotificationProfilepublic ProfileStatus getStatus()
AlarmNotificationProfilegetStatus in interface AlarmNotificationProfileProfileStatus that describes the status of this profile.public void sendNotification(NotificationContext notificationContext)
AlarmNotificationProfileNotificationContext.notificationFailed(com.inductiveautomation.ignition.common.i18n.LocalizedString).sendNotification in interface AlarmNotificationProfilenotificationContext - The NotificationContext.public java.util.Collection<NotificationProfileProperty<?>> getProperties()
AlarmNotificationProfileCollection of ConfigurationPropertys 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 the NotificationContext for each
AlarmNotificationProfile.sendNotification(NotificationContext) call to this profile.getProperties in interface AlarmNotificationProfileCollection of Propertys that AlarmNotificationProfile.sendNotification(NotificationContext) will
expect its NotificationContext to have configured.public java.util.Collection<ContactType> getSupportedContactTypes()
getSupportedContactTypes in interface AlarmNotificationProfileCollection of ContactTypes that this profile is capable of sending notification to.public void onStartup()
AlarmNotificationProfileAlarmNotificationManager.onStartup in interface AlarmNotificationProfilepublic void onShutdown()
AlarmNotificationProfileAlarmNotificationManager. This could be an update to the
profile (remove+add), a removal, or shutdown of the system.onShutdown in interface AlarmNotificationProfile