Enum Class DcatIntegrationConnectorAuditCode

java.lang.Object
java.lang.Enum<DcatIntegrationConnectorAuditCode>
org.odpi.openmetadata.adapters.connectors.integration.dcat.ffdc.DcatIntegrationConnectorAuditCode
All Implemented Interfaces:
Serializable, Comparable<DcatIntegrationConnectorAuditCode>, Constable, AuditLogMessageSet

public enum DcatIntegrationConnectorAuditCode extends Enum<DcatIntegrationConnectorAuditCode> implements AuditLogMessageSet
The DcatIntegrationConnectorAuditCode is used to define the message content for the OMRS 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 relating to the audit message (optional)
  • SystemAction - describes the result of the situation
  • UserAction - describes how a user should correct the situation
  • Enum Constant Details

    • TOPIC_RECEIVER_CONFIGURATION

      public static final DcatIntegrationConnectorAuditCode TOPIC_RECEIVER_CONFIGURATION
      DCAT-INTEGRATION-CONNECTOR-0001 - The {0} integration connector is monitoring topic {1} with connection: {2} for DCAT documents
    • DIRECTORY_MONITORED

      public static final DcatIntegrationConnectorAuditCode DIRECTORY_MONITORED
      DCAT-INTEGRATION-CONNECTOR-0002 - The {0} integration connector is monitoring directory {1} (from {2}) for DCAT documents
    • DOCUMENT_PUBLISHED

      public static final DcatIntegrationConnectorAuditCode DOCUMENT_PUBLISHED
      DCAT-INTEGRATION-CONNECTOR-0003 - The {0} integration connector published the DCAT document from file {1}
    • DIRECTORY_NOT_ACCESSIBLE

      public static final DcatIntegrationConnectorAuditCode DIRECTORY_NOT_ACCESSIBLE
      DCAT-INTEGRATION-CONNECTOR-0004 - The {0} integration connector is unable to use directory {1} (from {2}): {3}
    • RESOURCE_CATALOGUED

      public static final DcatIntegrationConnectorAuditCode RESOURCE_CATALOGUED
      DCAT-INTEGRATION-CONNECTOR-0005 - The {0} integration connector {1} element {2} ({3}) for DCAT {4} {5}
    • DOCUMENT_MAPPING_WARNING

      public static final DcatIntegrationConnectorAuditCode DOCUMENT_MAPPING_WARNING
      DCAT-INTEGRATION-CONNECTOR-0006 - The {0} integration connector was not able to catalog everything in a DCAT document: {1}
    • PUBLISHING_CATALOG_NOT_FOUND

      public static final DcatIntegrationConnectorAuditCode PUBLISHING_CATALOG_NOT_FOUND
      DCAT-INTEGRATION-CONNECTOR-0007 - The {0} integration connector is unable to find a collection called {1}, which is named in its {2} configuration property
    • NO_DESTINATION

      public static final DcatIntegrationConnectorAuditCode NO_DESTINATION
      DCAT-INTEGRATION-CONNECTOR-0008 - The {0} integration connector has no directory to publish DCAT descriptions to
    • RESOURCE_STORED

      public static final DcatIntegrationConnectorAuditCode RESOURCE_STORED
      DCAT-INTEGRATION-CONNECTOR-0009 - The {0} integration connector published the DCAT description of {1} {2} ({3}) to file {4}
    • CATALOG_STORED

      public static final DcatIntegrationConnectorAuditCode CATALOG_STORED
      DCAT-INTEGRATION-CONNECTOR-0010 - The {0} integration connector published the DCAT catalog for collection {1} to file {2}; it describes {3} dataset(s) and {4} data service(s)
    • RESOURCE_WITHDRAWN

      public static final DcatIntegrationConnectorAuditCode RESOURCE_WITHDRAWN
      DCAT-INTEGRATION-CONNECTOR-0011 - The {0} integration connector removed file {1} because the asset it describes is no longer in the publishing catalog
    • RESOURCE_NOT_PUBLISHED

      public static final DcatIntegrationConnectorAuditCode RESOURCE_NOT_PUBLISHED
      DCAT-INTEGRATION-CONNECTOR-0012 - The {0} integration connector was not able to generate the DCAT description of element {1}; the {2} exception had message: {3}
    • UNEXPECTED_EXCEPTION

      public static final DcatIntegrationConnectorAuditCode UNEXPECTED_EXCEPTION
      DCAT-INTEGRATION-CONNECTOR-0013 - The {0} integration connector received an unexpected exception {1} during method {2}; the error message was: {3}
  • Method Details

    • values

      public static DcatIntegrationConnectorAuditCode[] 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 DcatIntegrationConnectorAuditCode 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<DcatIntegrationConnectorAuditCode>
      Returns:
      string of property names and values for this enum