Enum Class BaudotAuditCode
java.lang.Object
java.lang.Enum<BaudotAuditCode>
org.odpi.openmetadata.adapters.connectors.baudot.ffdc.BaudotAuditCode
- All Implemented Interfaces:
Serializable,Comparable<BaudotAuditCode>,Constable,AuditLogMessageSet
The BaudotAuditCode is used to define the message content for the Audit Log.
The 5 fields in the enum are:
- Log Message Identifier - to uniquely identify the message
- Severity - is this an event, decision, action, error, or exception
- Log Message Text - includes placeholder to allow additional values to be captured
- Additional Information - further parameters and data for the audit message (optional)
- SystemAction - describes the result of the situation
- UserAction - describes how a user should correct the situation
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBAUDOT-SUBSCRIPTION-MANAGER-0009 - The {0} integration connector has stopped its monitoring of open metadata from server {1} on platform {2} and is shutting downBAUDOT-SUBSCRIPTION-MANAGER-0002 - The {0} governance service is processing notification type {1} ({2}) where notifications are triggered by changes to its monitored resources.BAUDOT-SUBSCRIPTION-MANAGER-0018 - The {0} governance action service has no targets to operate onBAUDOT-SUBSCRIPTION-MANAGER-0003 - The {0} governance service is processing notification type {1} ({2}) where only one notification is sent to each subscriberBAUDOT-SUBSCRIPTION-MANAGER-0005 - The {0} governance service is processing notification type {1} ({2}) where a notification is sent to each subscriber on a regular schedule every {3} minutes.BAUDOT-SUBSCRIPTION-MANAGER-0011 - The {0} integration connector is starting its harvesting of open metadata from server {1} on platform {2} into digital productsBAUDOT-SUBSCRIPTION-MANAGER-0017 - The {0} governance action service received a {1} exception when it registered a listener with the governance context.BAUDOT-SUBSCRIPTION-MANAGER-0016 - The {0} governance action service received a {1} exception when it registered its completion status.BAUDOT-SUBSCRIPTION-MANAGER-0001 - The {0} governance service received an unexpected exception {1} during method {2}; the error message was: {3} -
Method Summary
Modifier and TypeMethodDescriptionRetrieve a message definition object for logging.getMessageDefinition(String... params) Retrieve a message definition object for logging.toString()JSON-style toStringstatic BaudotAuditCodeReturns the enum constant of this class with the specified name.static BaudotAuditCode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNEXPECTED_EXCEPTION
BAUDOT-SUBSCRIPTION-MANAGER-0001 - The {0} governance service received an unexpected exception {1} during method {2}; the error message was: {3} -
MONITORED_RESOURCE_NOTIFICATION_TYPE
BAUDOT-SUBSCRIPTION-MANAGER-0002 - The {0} governance service is processing notification type {1} ({2}) where notifications are triggered by changes to its monitored resources. {3} monitored resources are currently registered -
ONE_TIME_NOTIFICATION_TYPE
BAUDOT-SUBSCRIPTION-MANAGER-0003 - The {0} governance service is processing notification type {1} ({2}) where only one notification is sent to each subscriber -
PERIODIC_NOTIFICATION_TYPE
BAUDOT-SUBSCRIPTION-MANAGER-0005 - The {0} governance service is processing notification type {1} ({2}) where a notification is sent to each subscriber on a regular schedule every {3} minutes. The next scheduled notification will be sent at {4} -
CONNECTOR_STOPPING
BAUDOT-SUBSCRIPTION-MANAGER-0009 - The {0} integration connector has stopped its monitoring of open metadata from server {1} on platform {2} and is shutting down -
STARTING_CONNECTOR
BAUDOT-SUBSCRIPTION-MANAGER-0011 - The {0} integration connector is starting its harvesting of open metadata from server {1} on platform {2} into digital products -
UNABLE_TO_SET_COMPLETION_STATUS
BAUDOT-SUBSCRIPTION-MANAGER-0016 - The {0} governance action service received a {1} exception when it registered its completion status. The exception's message is: {2} -
UNABLE_TO_REGISTER_LISTENER
BAUDOT-SUBSCRIPTION-MANAGER-0017 - The {0} governance action service received a {1} exception when it registered a listener with the governance context. The exception's message is: {2} -
NO_TARGETS
BAUDOT-SUBSCRIPTION-MANAGER-0018 - The {0} governance action service has no targets to operate on
-
-
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
-
getMessageDefinition
Retrieve a message definition object for logging. This method is used when there are no message inserts.- Specified by:
getMessageDefinitionin interfaceAuditLogMessageSet- Returns:
- message definition object.
-
getMessageDefinition
Retrieve a message definition object for logging. This method is used when there are values to be inserted into the message.- Specified by:
getMessageDefinitionin interfaceAuditLogMessageSet- Parameters:
params- array of parameters (all strings). They are inserted into the message according to the numbering in the message text.- Returns:
- message definition object.
-
toString
JSON-style toString- Overrides:
toStringin classEnum<BaudotAuditCode>- Returns:
- string of property names and values for this enum
-