public enum RepositoryHandlerAuditCode extends Enum<RepositoryHandlerAuditCode> implements AuditLogMessageSet
| Enum Constant and Description |
|---|
BAD_ENTITY |
BAD_ENTITY_PROXY |
BAD_RELATIONSHIP |
ENTITY_PURGED |
NULL_INSTANCE |
PROPERTY_SERVER_ERROR |
RELATIONSHIP_PURGED |
UNABLE_TO_SET_ANCHORS |
| 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.
|
String |
toString()
JSON-style toString
|
static RepositoryHandlerAuditCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RepositoryHandlerAuditCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RepositoryHandlerAuditCode ENTITY_PURGED
public static final RepositoryHandlerAuditCode RELATIONSHIP_PURGED
public static final RepositoryHandlerAuditCode PROPERTY_SERVER_ERROR
public static final RepositoryHandlerAuditCode UNABLE_TO_SET_ANCHORS
public static final RepositoryHandlerAuditCode NULL_INSTANCE
public static final RepositoryHandlerAuditCode BAD_ENTITY
public static final RepositoryHandlerAuditCode BAD_ENTITY_PROXY
public static final RepositoryHandlerAuditCode BAD_RELATIONSHIP
public static RepositoryHandlerAuditCode[] values()
for (RepositoryHandlerAuditCode c : RepositoryHandlerAuditCode.values()) System.out.println(c);
public static RepositoryHandlerAuditCode 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.public String toString()
toString in class Enum<RepositoryHandlerAuditCode>Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.