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