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