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

public enum MendelAuditCode extends Enum<MendelAuditCode> implements 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 Constants
    Enum Constant
    Description
    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})
    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 it
    MENDEL-DUPLICATE-MANAGER-0008 - The {0} integration connector has stopped managing the duplicates in server {1} on platform {2} and is shutting down
    MENDEL-DUPLICATE-MANAGER-0007 - The {0} integration connector has created consolidated element {1} from {2} duplicate {3} elements
    MENDEL-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 element
    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
    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
    MENDEL-DUPLICATE-MANAGER-0009 - The {0} integration connector has registered a listener for open metadata events
    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
    MENDEL-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 together
    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}
    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 Type
    Method
    Description
    Retrieve a message definition object for logging.
    Retrieve a message definition object for logging.
    JSON-style toString
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • UNEXPECTED_EXCEPTION

      public static final MendelAuditCode 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

      public static final MendelAuditCode 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

      public static final MendelAuditCode 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

      public static final MendelAuditCode DUPLICATES_VALIDATED
      MENDEL-DUPLICATE-MANAGER-0004 - The {0} integration connector has validated the duplicate link ({1}) between elements {2} and {3}
    • STEWARD_ACTION_REQUESTED

      public static final MendelAuditCode 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

      public static final MendelAuditCode RETIRED_DUPLICATE
      MENDEL-DUPLICATE-MANAGER-0006 - The {0} integration connector has removed the KnownDuplicate classification from element {1}
    • DUPLICATES_CONSOLIDATED

      public static final MendelAuditCode DUPLICATES_CONSOLIDATED
      MENDEL-DUPLICATE-MANAGER-0007 - The {0} integration connector has created consolidated element {1} from {2} duplicate {3} elements
    • CONFLICTING_PROPERTY

      public static final MendelAuditCode 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

      public static final MendelAuditCode 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

      public static final MendelAuditCode 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

      public static final MendelAuditCode 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

      public static final MendelAuditCode 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

      public static final MendelAuditCode 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

      public static final MendelAuditCode LISTENER_REGISTERED
      MENDEL-DUPLICATE-MANAGER-0009 - The {0} integration connector has registered a listener for open metadata events
    • UNABLE_TO_REGISTER_LISTENER

      public static final MendelAuditCode 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

      public static final MendelAuditCode 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

      public static MendelAuditCode[] 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

      public static MendelAuditCode valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getMessageDefinition

      public AuditLogMessageDefinition getMessageDefinition()
      Retrieve a message definition object for logging. This method is used when there are no message inserts.
      Specified by:
      getMessageDefinition in interface AuditLogMessageSet
      Returns:
      message definition object.
    • getMessageDefinition

      public AuditLogMessageDefinition getMessageDefinition(String... params)
      Retrieve a message definition object for logging. This method is used when there are values to be inserted into the message.
      Specified by:
      getMessageDefinition in interface AuditLogMessageSet
      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

      public String toString()
      JSON-style toString
      Overrides:
      toString in class Enum<MendelAuditCode>
      Returns:
      string of property names and values for this enum