Enum Class SecurityOfficerAuditCode

java.lang.Object
java.lang.Enum<SecurityOfficerAuditCode>
org.odpi.openmetadata.accessservices.securityofficer.api.ffdc.SecurityOfficerAuditCode
All Implemented Interfaces:
Serializable, Comparable<SecurityOfficerAuditCode>, Constable, AuditLogMessageSet

public enum SecurityOfficerAuditCode extends Enum<SecurityOfficerAuditCode> implements AuditLogMessageSet
  • Enum Constant Details

    • SERVICE_INITIALIZING

      public static final SecurityOfficerAuditCode SERVICE_INITIALIZING
      OMAS-SECURITY-OFFICER-0001 - The Security Officer Open Metadata Access Service (OMAS) is initializing
    • SERVICE_REGISTERED_WITH_TOPIC

      public static final SecurityOfficerAuditCode SERVICE_REGISTERED_WITH_TOPIC
      OMAS-SECURITY-OFFICER-0002 - The Security Officer Open Metadata Access Service (OMAS) is registering a listener with the OMRS Topic for server instance {0}
    • SERVICE_INITIALIZED

      public static final SecurityOfficerAuditCode SERVICE_INITIALIZED
      OMAS-SECURITY-OFFICER-0003 - The Security Officer Open Metadata Access Service (OMAS) has initialized a new instance for server {0}
    • SERVICE_TERMINATING

      public static final SecurityOfficerAuditCode SERVICE_TERMINATING
      OMAS-SECURITY-OFFICER-0004 - The Security Officer Open Metadata Access Service (OMAS) is shutting down server instance {0}
    • SERVICE_SHUTDOWN

      public static final SecurityOfficerAuditCode SERVICE_SHUTDOWN
      OMAS-SECURITY-OFFICER-0005 - The Security Officer Open Metadata Access Service (OMAS) has completed shutdown of server instance {0}
    • SERVICE_INSTANCE_FAILURE

      public static final SecurityOfficerAuditCode SERVICE_INSTANCE_FAILURE
      OMAS-SECURITY-OFFICER-0006 - The Security Officer Open Metadata Access Service (OMAS) is unable to initialize a new instance; error message is {0}
    • ERROR_INITIALIZING_TOPIC_CONNECTION

      public static final SecurityOfficerAuditCode ERROR_INITIALIZING_TOPIC_CONNECTION
      OMAS-SECURITY-OFFICER-0007 - Unable to initialize the Security Officer Open Metadata Access Service (OMAS) topic connection {0} for server instance {1}; error message was: {2}
    • PUBLISH_EVENT_EXCEPTION

      public static final SecurityOfficerAuditCode PUBLISH_EVENT_EXCEPTION
      OMAS-SECURITY-OFFICER-0008 - Event {0} could not be published: {1}
    • UNEXPECTED_INITIALIZATION_EXCEPTION

      public static final SecurityOfficerAuditCode UNEXPECTED_INITIALIZATION_EXCEPTION
      OMAS-SECURITY-OFFICER-0009 - A {0} exception was caught during start up of service {1} for server {2}. The error message was: {3}
    • EVENT_PROCESSING_ERROR

      public static final SecurityOfficerAuditCode EVENT_PROCESSING_ERROR
      OMAS-SECURITY-OFFICER-0010 - The Security Officer Open Metadata Access Service (OMAS) encounter an exception while processing event of type {0}
    • OUT_TOPIC_FAILURE

      public static final SecurityOfficerAuditCode OUT_TOPIC_FAILURE
      OMAS-SECURITY-OFFICER-0014 - The Security Officer Open Metadata Access Service (OMAS) is unable to send an event on its out topic {0}; exception {1} returned message: {2}
    • OUT_TOPIC_EVENT

      public static final SecurityOfficerAuditCode OUT_TOPIC_EVENT
      OMAS-SECURITY-OFFICER-0015 - The Security Officer Open Metadata Access Service (OMAS) has sent event of type: {0}
  • Method Details

    • values

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