Enum Class MendelAuditCode
java.lang.Object
java.lang.Enum<MendelAuditCode>
org.odpi.openmetadata.adapters.connectors.mendel.ffdc.MendelAuditCode
- All Implemented Interfaces:
Serializable,Comparable<MendelAuditCode>,Constable,AuditLogMessageSet
The MendelAuditCode 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 ConstantDescriptionMENDEL-DUPLICATE-MANAGER-0013 - The {0} integration connector is discarding the {1} classification ({2}) from element {3} because the more recently updated element {4} in the same cluster of duplicates carries the same classification with different properties ({5})MENDEL-DUPLICATE-MANAGER-0011 - The {0} integration connector is discarding the value ({1}) that element {2} supplies for the {3} property, because the more recently updated element {4} in the same cluster of duplicates supplies ({5})MENDEL-DUPLICATE-MANAGER-0015 - The {0} integration connector is not copying the {1} relationship between elements {2} and {3} onto consolidated element {4}, because the type only permits one relationship of this kind at the consolidated element's end and a more recently updated member of the cluster has supplied itMENDEL-DUPLICATE-MANAGER-0008 - The {0} integration connector has stopped managing the duplicates in server {1} on platform {2} and is shutting downMENDEL-DUPLICATE-MANAGER-0007 - The {0} integration connector has created consolidated element {1} from {2} duplicate {3} elementsMENDEL-DUPLICATE-MANAGER-0004 - The {0} integration connector has validated the duplicate link ({1}) between elements {2} and {3}MENDEL-DUPLICATE-MANAGER-0014 - The {0} integration connector is discarding the {1} classification from element {2} because it can not be attached to {3}, the type of the consolidated elementMENDEL-DUPLICATE-MANAGER-0016 - The {0} integration connector is discarding the {1} property ({2}) of the {3} classification supplied by element {4} because it is not a property of that classificationMENDEL-DUPLICATE-MANAGER-0012 - The {0} integration connector is discarding the {1} property ({2}) supplied by element {3} because it is not a property of {4}, the type of the consolidated elementMENDEL-DUPLICATE-MANAGER-0009 - The {0} integration connector has registered a listener for open metadata eventsMENDEL-DUPLICATE-MANAGER-0003 - The {0} integration connector has created the {1} person role ({2}) to receive the to dos raised for duplicates that it can not resolveMENDEL-DUPLICATE-MANAGER-0006 - The {0} integration connector has removed the KnownDuplicate classification from element {1}MENDEL-DUPLICATE-MANAGER-0002 - The {0} integration connector is starting to manage the duplicates in server {1} on platform {2}; validated duplicates are consolidated once there are {3} of them linked togetherMENDEL-DUPLICATE-MANAGER-0005 - The {0} integration connector has created to do {1} to request that a steward reviews the duplicate link ({2}) between elements {3} and {4}MENDEL-DUPLICATE-MANAGER-0010 - The {0} integration connector is unable to register a listener for open metadata events due to a {1} exception with message {2}MENDEL-DUPLICATE-MANAGER-0001 - The {0} integration connector 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 MendelAuditCodeReturns the enum constant of this class with the specified name.static MendelAuditCode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNEXPECTED_EXCEPTION
MENDEL-DUPLICATE-MANAGER-0001 - The {0} integration connector received an unexpected exception {1} during method {2}; the error message was: {3} -
STARTING_CONNECTOR
MENDEL-DUPLICATE-MANAGER-0002 - The {0} integration connector is starting to manage the duplicates in server {1} on platform {2}; validated duplicates are consolidated once there are {3} of them linked together -
NEW_STEWARD_ROLE
MENDEL-DUPLICATE-MANAGER-0003 - The {0} integration connector has created the {1} person role ({2}) to receive the to dos raised for duplicates that it can not resolve -
DUPLICATES_VALIDATED
MENDEL-DUPLICATE-MANAGER-0004 - The {0} integration connector has validated the duplicate link ({1}) between elements {2} and {3} -
STEWARD_ACTION_REQUESTED
MENDEL-DUPLICATE-MANAGER-0005 - The {0} integration connector has created to do {1} to request that a steward reviews the duplicate link ({2}) between elements {3} and {4} -
RETIRED_DUPLICATE
MENDEL-DUPLICATE-MANAGER-0006 - The {0} integration connector has removed the KnownDuplicate classification from element {1} -
DUPLICATES_CONSOLIDATED
MENDEL-DUPLICATE-MANAGER-0007 - The {0} integration connector has created consolidated element {1} from {2} duplicate {3} elements -
CONFLICTING_PROPERTY
MENDEL-DUPLICATE-MANAGER-0011 - The {0} integration connector is discarding the value ({1}) that element {2} supplies for the {3} property, because the more recently updated element {4} in the same cluster of duplicates supplies ({5}) -
INCOMPATIBLE_PROPERTY
MENDEL-DUPLICATE-MANAGER-0012 - The {0} integration connector is discarding the {1} property ({2}) supplied by element {3} because it is not a property of {4}, the type of the consolidated element -
INCOMPATIBLE_CLASSIFICATION_PROPERTY
MENDEL-DUPLICATE-MANAGER-0016 - The {0} integration connector is discarding the {1} property ({2}) of the {3} classification supplied by element {4} because it is not a property of that classification -
CONFLICTING_CLASSIFICATION
MENDEL-DUPLICATE-MANAGER-0013 - The {0} integration connector is discarding the {1} classification ({2}) from element {3} because the more recently updated element {4} in the same cluster of duplicates carries the same classification with different properties ({5}) -
INCOMPATIBLE_CLASSIFICATION
MENDEL-DUPLICATE-MANAGER-0014 - The {0} integration connector is discarding the {1} classification from element {2} because it can not be attached to {3}, the type of the consolidated element -
CONFLICTING_RELATIONSHIP
MENDEL-DUPLICATE-MANAGER-0015 - The {0} integration connector is not copying the {1} relationship between elements {2} and {3} onto consolidated element {4}, because the type only permits one relationship of this kind at the consolidated element's end and a more recently updated member of the cluster has supplied it -
LISTENER_REGISTERED
MENDEL-DUPLICATE-MANAGER-0009 - The {0} integration connector has registered a listener for open metadata events -
UNABLE_TO_REGISTER_LISTENER
MENDEL-DUPLICATE-MANAGER-0010 - The {0} integration connector is unable to register a listener for open metadata events due to a {1} exception with message {2} -
CONNECTOR_STOPPING
MENDEL-DUPLICATE-MANAGER-0008 - The {0} integration connector has stopped managing the duplicates in server {1} on platform {2} and is shutting down
-
-
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<MendelAuditCode>- Returns:
- string of property names and values for this enum
-