public enum ServerAuthorViewAuditCode extends Enum<ServerAuthorViewAuditCode> implements AuditLogMessageSet
| Enum Constant and Description |
|---|
SERVICE_INITIALIZED |
SERVICE_INITIALIZING |
SERVICE_INSTANCE_FAILURE |
SERVICE_SHUTDOWN |
SERVICE_TERMINATING |
UNEXPECTED_EXCEPTION |
| 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 ServerAuthorViewAuditCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServerAuthorViewAuditCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServerAuthorViewAuditCode SERVICE_INITIALIZING
public static final ServerAuthorViewAuditCode SERVICE_INITIALIZED
public static final ServerAuthorViewAuditCode SERVICE_SHUTDOWN
public static final ServerAuthorViewAuditCode SERVICE_INSTANCE_FAILURE
public static final ServerAuthorViewAuditCode SERVICE_TERMINATING
public static final ServerAuthorViewAuditCode UNEXPECTED_EXCEPTION
public static ServerAuthorViewAuditCode[] values()
for (ServerAuthorViewAuditCode c : ServerAuthorViewAuditCode.values()) System.out.println(c);
public static ServerAuthorViewAuditCode 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<ServerAuthorViewAuditCode>Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.