public enum ViewServiceAuditCode extends Enum<ViewServiceAuditCode>
The 5 fields in the enum are:
| Enum Constant and Description |
|---|
SERVICE_INITIALIZED |
SERVICE_INITIALIZING |
SERVICE_INSTANCE_FAILURE |
SERVICE_SHUTDOWN |
UNKNOWN_SERVICE_INITIALIZING |
| Modifier and Type | Method and Description |
|---|---|
String |
getFormattedLogMessage(String... params)
Returns the log message with the placeholders filled out with the supplied parameters.
|
String |
getLogMessageId()
Returns the unique identifier for the error message.
|
OMRSAuditLogRecordSeverity |
getSeverity()
Return the severity of the audit log record.
|
String |
getSystemAction()
Returns a description of the action taken by the system when the condition that caused this exception was
detected.
|
String |
getUserAction()
Returns instructions of how to resolve the issue reported in this exception.
|
static ViewServiceAuditCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ViewServiceAuditCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ViewServiceAuditCode SERVICE_INITIALIZING
public static final ViewServiceAuditCode SERVICE_INITIALIZED
public static final ViewServiceAuditCode SERVICE_SHUTDOWN
public static final ViewServiceAuditCode SERVICE_INSTANCE_FAILURE
public static final ViewServiceAuditCode UNKNOWN_SERVICE_INITIALIZING
public static ViewServiceAuditCode[] values()
for (ViewServiceAuditCode c : ViewServiceAuditCode.values()) System.out.println(c);
public static ViewServiceAuditCode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getLogMessageId()
public OMRSAuditLogRecordSeverity getSeverity()
public String getFormattedLogMessage(String... params)
params - - strings that plug into the placeholders in the logMessagepublic String getSystemAction()
public String getUserAction()
Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.