Enum EngineHostServicesAuditCode
- java.lang.Object
-
- java.lang.Enum<EngineHostServicesAuditCode>
-
- org.odpi.openmetadata.governanceservers.enginehostservices.ffdc.EngineHostServicesAuditCode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<EngineHostServicesAuditCode>
,AuditLogMessageSet
public enum EngineHostServicesAuditCode extends java.lang.Enum<EngineHostServicesAuditCode> implements AuditLogMessageSet
The EngineHostServicesAuditCode is used to define the message content for the OMRS Audit Log. The 5 fields in the enum are:- Log Message Id - to uniquely identify the message
- Severity - is this an event, decision, action, error or exception
- Log Message Text - includes placeholder to allow additional values to be captured
- Additional Information - further parameters and data relating to the audit message (optional)
- SystemAction - describes the result of the situation
- UserAction - describes how a user should correct the situation
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AuditLogMessageDefinition
getMessageDefinition()
Retrieve a message definition object for logging.AuditLogMessageDefinition
getMessageDefinition(java.lang.String... params)
Retrieve a message definition object for logging.java.lang.String
toString()
toString() JSON-stylestatic EngineHostServicesAuditCode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static EngineHostServicesAuditCode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SERVER_INITIALIZING
public static final EngineHostServicesAuditCode SERVER_INITIALIZING
-
SERVER_INITIALIZED
public static final EngineHostServicesAuditCode SERVER_INITIALIZED
-
SERVICE_INSTANCE_FAILURE
public static final EngineHostServicesAuditCode SERVICE_INSTANCE_FAILURE
-
NO_CONFIG_OMAS_SERVER_URL
public static final EngineHostServicesAuditCode NO_CONFIG_OMAS_SERVER_URL
-
NO_CONFIG_OMAS_SERVER_NAME
public static final EngineHostServicesAuditCode NO_CONFIG_OMAS_SERVER_NAME
-
NO_PARTNER_OMAS_SERVER_URL
public static final EngineHostServicesAuditCode NO_PARTNER_OMAS_SERVER_URL
-
NO_PARTNER_OMAS_SERVER_NAME
public static final EngineHostServicesAuditCode NO_PARTNER_OMAS_SERVER_NAME
-
NO_ENGINES_FOR_SERVICE
public static final EngineHostServicesAuditCode NO_ENGINES_FOR_SERVICE
-
NULL_ENGINE_NAME
public static final EngineHostServicesAuditCode NULL_ENGINE_NAME
-
NULL_ENGINE_SERVICE_ADMIN_CLASS
public static final EngineHostServicesAuditCode NULL_ENGINE_SERVICE_ADMIN_CLASS
-
BAD_ENGINE_SERVICE_ADMIN_CLASS
public static final EngineHostServicesAuditCode BAD_ENGINE_SERVICE_ADMIN_CLASS
-
STARTING_ENGINE_SERVICES
public static final EngineHostServicesAuditCode STARTING_ENGINE_SERVICES
-
ENGINE_SERVICE_NULL_HANDLERS
public static final EngineHostServicesAuditCode ENGINE_SERVICE_NULL_HANDLERS
-
ALL_ENGINE_SERVICES_STARTED
public static final EngineHostServicesAuditCode ALL_ENGINE_SERVICES_STARTED
-
ENGINE_SHUTDOWN
public static final EngineHostServicesAuditCode ENGINE_SHUTDOWN
-
SKIPPING_ENGINE_SERVICE
public static final EngineHostServicesAuditCode SKIPPING_ENGINE_SERVICE
-
SERVER_SHUTTING_DOWN
public static final EngineHostServicesAuditCode SERVER_SHUTTING_DOWN
-
SERVER_SHUTDOWN
public static final EngineHostServicesAuditCode SERVER_SHUTDOWN
-
SERVER_NOT_AUTHORIZED
public static final EngineHostServicesAuditCode SERVER_NOT_AUTHORIZED
-
ENGINE_SERVICE_INSTANCE_FAILURE
public static final EngineHostServicesAuditCode ENGINE_SERVICE_INSTANCE_FAILURE
-
SUPPORTED_REQUEST_TYPE
public static final EngineHostServicesAuditCode SUPPORTED_REQUEST_TYPE
-
NO_SUPPORTED_REQUEST_TYPES
public static final EngineHostServicesAuditCode NO_SUPPORTED_REQUEST_TYPES
-
REQUEST_TYPE_CONFIG_ERROR
public static final EngineHostServicesAuditCode REQUEST_TYPE_CONFIG_ERROR
-
EXC_ON_ERROR_STATUS_UPDATE
public static final EngineHostServicesAuditCode EXC_ON_ERROR_STATUS_UPDATE
-
UNKNOWN_GOVERNANCE_ENGINE_NAME
public static final EngineHostServicesAuditCode UNKNOWN_GOVERNANCE_ENGINE_NAME
-
NO_CONFIGURATION_LISTENER
public static final EngineHostServicesAuditCode NO_CONFIGURATION_LISTENER
-
CONFIGURATION_LISTENER_REGISTERED
public static final EngineHostServicesAuditCode CONFIGURATION_LISTENER_REGISTERED
-
CLEARING_ALL_GOVERNANCE_SERVICE_CONFIG
public static final EngineHostServicesAuditCode CLEARING_ALL_GOVERNANCE_SERVICE_CONFIG
-
FINISHED_ALL_GOVERNANCE_SERVICE_CONFIG
public static final EngineHostServicesAuditCode FINISHED_ALL_GOVERNANCE_SERVICE_CONFIG
-
GOVERNANCE_SERVICE_NO_CONFIG
public static final EngineHostServicesAuditCode GOVERNANCE_SERVICE_NO_CONFIG
-
GOVERNANCE_ENGINE_NO_CONFIG
public static final EngineHostServicesAuditCode GOVERNANCE_ENGINE_NO_CONFIG
-
GOVERNANCE_ACTION_TARGET_COMPLETION
public static final EngineHostServicesAuditCode GOVERNANCE_ACTION_TARGET_COMPLETION
-
GOVERNANCE_ACTION_RECORD_COMPLETION
public static final EngineHostServicesAuditCode GOVERNANCE_ACTION_RECORD_COMPLETION
-
GOVERNANCE_ACTION_FAILED
public static final EngineHostServicesAuditCode GOVERNANCE_ACTION_FAILED
-
NO_OMAS_SERVER_URL
public static final EngineHostServicesAuditCode NO_OMAS_SERVER_URL
-
NO_OMAS_SERVER_NAME
public static final EngineHostServicesAuditCode NO_OMAS_SERVER_NAME
-
NO_ENGINES
public static final EngineHostServicesAuditCode NO_ENGINES
-
ACTION_PROCESSING_ERROR
public static final EngineHostServicesAuditCode ACTION_PROCESSING_ERROR
-
-
Method Detail
-
values
public static EngineHostServicesAuditCode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EngineHostServicesAuditCode c : EngineHostServicesAuditCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EngineHostServicesAuditCode valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getMessageDefinition
public AuditLogMessageDefinition getMessageDefinition()
Retrieve a message definition object for logging. This method is used when there are no message inserts.- Specified by:
getMessageDefinition
in interfaceAuditLogMessageSet
- Returns:
- message definition object.
-
getMessageDefinition
public AuditLogMessageDefinition getMessageDefinition(java.lang.String... params)
Retrieve a message definition object for logging. This method is used when there are values to be inserted into the message.- Specified by:
getMessageDefinition
in interfaceAuditLogMessageSet
- Parameters:
params
- array of parameters (all strings). They are inserted into the message according to the numbering in the message text.- Returns:
- message definition object.
-
toString
public java.lang.String toString()
toString() JSON-style- Overrides:
toString
in classjava.lang.Enum<EngineHostServicesAuditCode>
- Returns:
- string description
-
-