public enum GraphOMRSAuditCode extends Enum<GraphOMRSAuditCode> implements AuditLogMessageSet
| Enum Constant and Description |
|---|
GRAPH_REPOSITORY_CREATED |
GRAPH_REPOSITORY_HAS_DIFFERENT_METADATA_COLLECTION_ID |
GRAPH_REPOSITORY_OPENED |
| Modifier and Type | Method and Description |
|---|---|
AuditLogMessageDefinition |
getMessageDefinition()
Retrieve a message definition object for logging.
|
AuditLogMessageDefinition |
getMessageDefinition(String... params)
Retrieve a message definition object for logging.
|
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 AuditLogMessageDefinition getMessageDefinition()
getMessageDefinition in interface AuditLogMessageSetpublic AuditLogMessageDefinition getMessageDefinition(String... params)
getMessageDefinition in interface AuditLogMessageSetparams - array of parameters (all strings). They are inserted into the message according to the numbering in the message text.Copyright © 2018–2020 ODPi. All rights reserved.