Enum Class OMRSAuditLogRecordSeverity

java.lang.Object
java.lang.Enum<OMRSAuditLogRecordSeverity>
org.odpi.openmetadata.repositoryservices.auditlog.OMRSAuditLogRecordSeverity
All Implemented Interfaces:
Serializable, Comparable<OMRSAuditLogRecordSeverity>, Constable, AuditLogRecordSeverity

public enum OMRSAuditLogRecordSeverity extends Enum<OMRSAuditLogRecordSeverity> implements AuditLogRecordSeverity
OMRSAuditLogRecordSeverity defines the different levels of severity for log records stored in the OMRSAuditLogRecord.
  • 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
    Action - Action is required by the administrator.
    Activity - This log record contains user activity information such as the requests being made and the metadata being accessed.
    Asset - An auditable action relating to an asset has been taken.
    Cohort - The server is exchanging registration information about an open metadata repository cohort that it is connecting to.
    Decision - A decision has been made related to the operation of the system.
    Error - An error occurred.
    Event - An event was sent to or received from another participant in the server's ecosystem.
    Exception - An unexpected exception occurred.
    Information - The server is providing information about its normal operation.
    PerfMon - This log record contains performance monitoring timing information for specific types of processing.
    Security - Unauthorized access to a service or metadata instance has been attempted.
    Shutdown - An existing component is shutting down.
    Startup - A new component is starting up.
    Trace - This is additional information on the operation of the server that may be of assistance in debugging a problem.
    Types - Activity is occurring that relates to the open metadata types in use by this server.
    Unknown - Uninitialized Severity.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return the default description of this enum.
    Return the name of this enum.
    int
    Return the code for this enum.
    Return the list of severities defined for the audit log records in this server.
    toString() JSON-style
    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

    • UNKNOWN

      public static final OMRSAuditLogRecordSeverity UNKNOWN
      Unknown - Uninitialized Severity.
    • INFO

      public static final OMRSAuditLogRecordSeverity INFO
      Information - The server is providing information about its normal operation.
    • EVENT

      public static final OMRSAuditLogRecordSeverity EVENT
      Event - An event was sent to or received from another participant in the server's ecosystem.
    • DECISION

      public static final OMRSAuditLogRecordSeverity DECISION
      Decision - A decision has been made related to the operation of the system.
    • ACTION

      public static final OMRSAuditLogRecordSeverity ACTION
      Action - Action is required by the administrator. At a minimum, the situation needs to be investigated and if necessary, corrective action taken.
    • ERROR

      public static final OMRSAuditLogRecordSeverity ERROR
      Error - An error occurred. This may restrict some of the server's operations.
    • EXCEPTION

      public static final OMRSAuditLogRecordSeverity EXCEPTION
      Exception - An unexpected exception occurred. Details of the exception and stack trace are included in the log record.
    • SECURITY

      public static final OMRSAuditLogRecordSeverity SECURITY
      Security - Unauthorized access to a service or metadata instance has been attempted.
    • STARTUP

      public static final OMRSAuditLogRecordSeverity STARTUP
      Startup - A new component is starting up.
    • SHUTDOWN

      public static final OMRSAuditLogRecordSeverity SHUTDOWN
      Shutdown - An existing component is shutting down.
    • ASSET

      public static final OMRSAuditLogRecordSeverity ASSET
      Asset - An auditable action relating to an asset has been taken.
    • TYPES

      public static final OMRSAuditLogRecordSeverity TYPES
      Types - Activity is occurring that relates to the open metadata types in use by this server.
    • COHORT

      public static final OMRSAuditLogRecordSeverity COHORT
      Cohort - The server is exchanging registration information about an open metadata repository cohort that it is connecting to.
    • TRACE

      public static final OMRSAuditLogRecordSeverity TRACE
      Trace - This is additional information on the operation of the server that may be of assistance in debugging a problem. It is not normally logged to any destination, but can be added when needed.
    • PERFMON

      public static final OMRSAuditLogRecordSeverity PERFMON
      PerfMon - This log record contains performance monitoring timing information for specific types of processing. It is not normally logged to any destination but can be added when needed.
    • ACTIVITY

      public static final OMRSAuditLogRecordSeverity ACTIVITY
      Activity - This log record contains user activity information such as the requests being made and the metadata being accessed.
  • Method Details

    • values

      public static OMRSAuditLogRecordSeverity[] 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 OMRSAuditLogRecordSeverity 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
    • getOrdinal

      public int getOrdinal()
      Return the code for this enum.
      Specified by:
      getOrdinal in interface AuditLogRecordSeverity
      Returns:
      int numeric for this enum
    • getName

      public String getName()
      Return the name of this enum.
      Specified by:
      getName in interface AuditLogRecordSeverity
      Returns:
      String name
    • getDescription

      public String getDescription()
      Return the default description of this enum. This description is in English. Natural language translations can be created using a Resource Bundle indexed by the severity code. This description is a fall back when the resource bundle is not available.
      Specified by:
      getDescription in interface AuditLogRecordSeverity
      Returns:
      String default description
    • toString

      public String toString()
      toString() JSON-style
      Overrides:
      toString in class Enum<OMRSAuditLogRecordSeverity>
      Returns:
      string description
    • getSeverityList

      public static List<OMRSAuditLogReportSeverity> getSeverityList()
      Return the list of severities defined for the audit log records in this server. The Enum needs to be turned into a bean.
      Returns:
      list of severity values