Enum OpenLineageServerAuditCode
- java.lang.Object
-
- java.lang.Enum<OpenLineageServerAuditCode>
-
- org.odpi.openmetadata.governanceservers.openlineage.auditlog.OpenLineageServerAuditCode
-
- All Implemented Interfaces:
Serializable,Comparable<OpenLineageServerAuditCode>
public enum OpenLineageServerAuditCode extends Enum<OpenLineageServerAuditCode>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetFormattedLogMessage(String... params)Returns the log message with the placeholders filled out with the supplied parameters.StringgetLogMessageId()Returns the unique identifier for the error message.AuditLogMessageDefinitiongetMessageDefinition(String... params)Gets message definition.OMRSAuditLogRecordSeveritygetSeverity()Return the severity of the audit log record.StringgetSystemAction()Returns a description of the action taken by the system when the condition that caused this exception was detected.StringgetUserAction()Returns instructions of how to resolve the issue reported in this exception.static OpenLineageServerAuditCodevalueOf(String name)Returns the enum constant of this type with the specified name.static OpenLineageServerAuditCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SERVER_INITIALIZING
public static final OpenLineageServerAuditCode SERVER_INITIALIZING
-
SERVER_INITIALIZED
public static final OpenLineageServerAuditCode SERVER_INITIALIZED
-
SERVER_REGISTERED_WITH_IN_TOPIC
public static final OpenLineageServerAuditCode SERVER_REGISTERED_WITH_IN_TOPIC
-
SERVER_SHUTTING_DOWN
public static final OpenLineageServerAuditCode SERVER_SHUTTING_DOWN
-
SERVER_SHUTDOWN
public static final OpenLineageServerAuditCode SERVER_SHUTDOWN
-
NO_CONFIG_DOC
public static final OpenLineageServerAuditCode NO_CONFIG_DOC
-
ERROR_OBTAINING_IN_TOPIC_CONNECTOR
public static final OpenLineageServerAuditCode ERROR_OBTAINING_IN_TOPIC_CONNECTOR
-
ERROR_STARTING_IN_TOPIC_CONNECTOR
public static final OpenLineageServerAuditCode ERROR_STARTING_IN_TOPIC_CONNECTOR
-
ERROR_OBTAINING_LINEAGE_GRAPH_CONNECTOR
public static final OpenLineageServerAuditCode ERROR_OBTAINING_LINEAGE_GRAPH_CONNECTOR
-
ERROR_INITIALIZING_LINEAGE_GRAPH_CONNECTOR_DB
public static final OpenLineageServerAuditCode ERROR_INITIALIZING_LINEAGE_GRAPH_CONNECTOR_DB
-
ERROR_STARTING_LINEAGE_GRAPH_CONNECTOR
public static final OpenLineageServerAuditCode ERROR_STARTING_LINEAGE_GRAPH_CONNECTOR
-
ERROR_INITIALIZING_OLS
public static final OpenLineageServerAuditCode ERROR_INITIALIZING_OLS
-
PROCESS_EVENT_EXCEPTION
public static final OpenLineageServerAuditCode PROCESS_EVENT_EXCEPTION
-
ERROR_DISCONNECTING_LINEAGE_GRAPH_CONNECTOR
public static final OpenLineageServerAuditCode ERROR_DISCONNECTING_LINEAGE_GRAPH_CONNECTOR
-
ASSET_CONTEXT_EXCEPTION
public static final OpenLineageServerAuditCode ASSET_CONTEXT_EXCEPTION
-
ERROR_DISCONNECTING_IN_TOPIC_CONNECTOR
public static final OpenLineageServerAuditCode ERROR_DISCONNECTING_IN_TOPIC_CONNECTOR
-
ASSET_CONTEXT_INFO
public static final OpenLineageServerAuditCode ASSET_CONTEXT_INFO
-
ASSET_CONTEXT_REQUEST
public static final OpenLineageServerAuditCode ASSET_CONTEXT_REQUEST
-
-
Method Detail
-
values
public static OpenLineageServerAuditCode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (OpenLineageServerAuditCode c : OpenLineageServerAuditCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OpenLineageServerAuditCode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
getLogMessageId
public String getLogMessageId()
Returns the unique identifier for the error message.- Returns:
- logMessageId
-
getSeverity
public OMRSAuditLogRecordSeverity getSeverity()
Return the severity of the audit log record.- Returns:
- OMRSAuditLogRecordSeverity enum
-
getFormattedLogMessage
public String getFormattedLogMessage(String... params)
Returns the log message with the placeholders filled out with the supplied parameters.- Parameters:
params- - strings that plug into the placeholders in the logMessage- Returns:
- logMessage (formatted with supplied parameters)
-
getSystemAction
public String getSystemAction()
Returns a description of the action taken by the system when the condition that caused this exception was detected.- Returns:
- systemAction String
-
getUserAction
public String getUserAction()
Returns instructions of how to resolve the issue reported in this exception.- Returns:
- userAction String
-
getMessageDefinition
public AuditLogMessageDefinition getMessageDefinition(String... params)
Gets message definition.- Returns:
- the message definition
-
-