Package com.tailf.notif
Enum Class NotificationType
- All Implemented Interfaces:
Serializable
,Comparable<NotificationType>
,Constable
Enum describing the different notification types available.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionFlag in eventmask requests ConfD to send audit log events.Flag in eventmask requests NCS to send audit network eventsFlag in eventmask which is used in combination with the NOTIF_AUDIT_NETWORK flag and then implies that the methodNotif.syncAuditNetworkNotification(int usid)
must be called for each notification or else the user session will hang indefinitelyFlag in eventmask which is used in combination with the NOTIF_AUDIT flag and then implies that the methodNotif.syncAuditNotification(int usid)
must be called for each notification or else the user session will hang indefinitelyFlag in eventmask requests NCS to send events for NETCONF Call Home connections.Flag in eventmask requests ConfD to send commit diff events.Flag in eventmask requests ConfD to send commit failed events.Flag in eventmask requests ConfD to send commit progress events.Flag in eventmask requests ConfD to send commit events.Flag in eventmask requests NCS to send compaction eventsFlag in eventmask requests ConfD to send confirmed commit events.Flag in eventmask requests NCS to send event for the ncs commit queue item lifecycle reload has completedFlag in eventmask requests ConfD to send syslog events.Flag in eventmask requests ConfD to send devel events.Flag in eventmask requests ConfD to send forward info events.Flag in eventmask requests ConfD to send HA (high availability) info events.Flag in eventmask requests ConfD events related to changes of the current cluster configurationFlag in eventmask requests ConfD to send health check events.Flag in eventmask requests ConfD to send heartbeat events.Flag in eventmask requests ConfD to send jsonrpc events.Flag in eventmask requests ConfD to send netconf events.Flag in eventmask requests NCS to send event when a package reload has completedFlag in eventmask requests ConfD to send progress events of the commit of a transaction or an action being applied.Flag in eventmask requests ConfD/NCS to send an event when it will close and reopen its log filesFlag in eventmask requests ConfD to send snmpa events.Flag in eventmask requests ConfD to send event for a notification streamFlag in eventmask requests ConfD to send subagent info events.Flag in eventmask requests ConfD to send syslog takeover events.Flag in eventmask requests ConfD to send upgrade info events.Flag in eventmask requests ConfD to send user session events.Flag in eventmask requests ConfD to send webui events. -
Method Summary
Modifier and TypeMethodDescriptionlong
getValue()
static NotificationType
valueOf
(long i) Returns the enum constant of this class with the specified name.static NotificationType
Returns the enum constant of this class with the specified name.static NotificationType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
NOTIF_AUDIT
Flag in eventmask requests ConfD to send audit log events. -
NOTIF_DAEMON
Flag in eventmask requests ConfD to send syslog events. -
NOTIF_TAKEOVER_SYSLOG
Flag in eventmask requests ConfD to send syslog takeover events. -
NOTIF_COMMIT_SIMPLE
Flag in eventmask requests ConfD to send commit events. -
NOTIF_COMMIT_DIFF
Flag in eventmask requests ConfD to send commit diff events. -
NOTIF_USER_SESSION
Flag in eventmask requests ConfD to send user session events. -
NOTIF_HA_INFO
Flag in eventmask requests ConfD to send HA (high availability) info events. -
NOTIF_SUBAGENT_INFO
Flag in eventmask requests ConfD to send subagent info events. -
NOTIF_COMMIT_FAILED
Flag in eventmask requests ConfD to send commit failed events. -
NOTIF_SNMPA
Flag in eventmask requests ConfD to send snmpa events. -
NOTIF_FORWARD_INFO
Flag in eventmask requests ConfD to send forward info events. -
NOTIF_NETCONF
Flag in eventmask requests ConfD to send netconf events. -
NOTIF_DEVEL
Flag in eventmask requests ConfD to send devel events. -
NOTIF_HEARTBEAT
Flag in eventmask requests ConfD to send heartbeat events. -
NOTIF_CONFIRMED_COMMIT
Flag in eventmask requests ConfD to send confirmed commit events. -
NOTIF_UPGRADE_EVENT
Flag in eventmask requests ConfD to send upgrade info events. -
NOTIF_COMMIT_PROGRESS
Flag in eventmask requests ConfD to send commit progress events. -
NOTIF_AUDIT_SYNC
Flag in eventmask which is used in combination with the NOTIF_AUDIT flag and then implies that the methodNotif.syncAuditNotification(int usid)
must be called for each notification or else the user session will hang indefinitely -
NOTIF_HEALTH_CHECK
Flag in eventmask requests ConfD to send health check events. -
NOTIF_STREAM_EVENT
Flag in eventmask requests ConfD to send event for a notification stream -
NOTIF_HA_INFO_SYNC
Flag in eventmask requests ConfD events related to changes of the current cluster configuration -
NOTIF_PACKAGE_RELOAD
Flag in eventmask requests NCS to send event when a package reload has completed -
NOTIF_CQ_PROGRESS
Flag in eventmask requests NCS to send event for the ncs commit queue item lifecycle reload has completed -
NOTIF_REOPEN_LOGS
Flag in eventmask requests ConfD/NCS to send an event when it will close and reopen its log files -
NOTIF_PROGRESS
Flag in eventmask requests ConfD to send progress events of the commit of a transaction or an action being applied. -
NOTIF_CALL_HOME_INFO
Flag in eventmask requests NCS to send events for NETCONF Call Home connections. -
NOTIF_JSONRPC
Flag in eventmask requests ConfD to send jsonrpc events. -
NOTIF_WEBUI
Flag in eventmask requests ConfD to send webui events. -
NOTIF_AUDIT_NETWORK
Flag in eventmask requests NCS to send audit network events -
NOTIF_AUDIT_NETWORK_SYNC
Flag in eventmask which is used in combination with the NOTIF_AUDIT_NETWORK flag and then implies that the methodNotif.syncAuditNetworkNotification(int usid)
must be called for each notification or else the user session will hang indefinitely -
NOTIF_COMPACTION
Flag in eventmask requests NCS to send compaction events
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
public long getValue() -
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
i
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-