public enum DiscoveryEngineAuditCode extends Enum<DiscoveryEngineAuditCode>
| Enum Constant and Description |
|---|
ASSET_AUDIT_LOG |
SERVICE_INITIALIZED |
SERVICE_INITIALIZING |
SERVICE_INSTANCE_FAILURE |
SERVICE_SHUTDOWN |
| 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 DiscoveryEngineAuditCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DiscoveryEngineAuditCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DiscoveryEngineAuditCode SERVICE_INITIALIZING
public static final DiscoveryEngineAuditCode SERVICE_INITIALIZED
public static final DiscoveryEngineAuditCode SERVICE_SHUTDOWN
public static final DiscoveryEngineAuditCode SERVICE_INSTANCE_FAILURE
public static final DiscoveryEngineAuditCode ASSET_AUDIT_LOG
public static DiscoveryEngineAuditCode[] values()
for (DiscoveryEngineAuditCode c : DiscoveryEngineAuditCode.values()) System.out.println(c);
public static DiscoveryEngineAuditCode 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–2019 ODPi. All rights reserved.