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