Enum Class GovernanceActionAuditCode
java.lang.Object
java.lang.Enum<GovernanceActionAuditCode>
org.odpi.openmetadata.engineservices.governanceaction.ffdc.GovernanceActionAuditCode
- All Implemented Interfaces:
Serializable
,Comparable<GovernanceActionAuditCode>
,Constable
,AuditLogMessageSet
public enum GovernanceActionAuditCode
extends Enum<GovernanceActionAuditCode>
implements AuditLogMessageSet
The GovernanceActionAuditCode is used to define the message content for the OMRS Audit Log.
The 5 fields in the enum are:
- Log Message Identifier - 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
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionOMES-GOVERNANCE-ACTION-0001 - The Governance Action engine services are initializing in server {0}OMES-GOVERNANCE-ACTION-0028 - Governance Action engine {0} is unable to update the completion status for governance action service {1}.OMES-GOVERNANCE-ACTION-0032 - {0} governance service ({1}) with request type {2} has initialized in governance engine {3}OMES-GOVERNANCE-ACTION-0019 - The {0} governance action service {1} for request type {2} has completed with status {3} in {4} millisecondsOMES-GOVERNANCE-ACTION-0018 - The {0} governance action service {1} threw a {2} exception in governance action engine {3} (guid={4}).OMES-GOVERNANCE-ACTION-0020 - The {0} governance action service {1} for request type {2} is continuing to run in a background threadOMES-GOVERNANCE-ACTION-0017 - The {0} governance action service {1} is starting with request type {2} in governance action engine {3} (guid={4})The governance action service {0} linked to request type {1} can not be started.OMES-GOVERNANCE-ACTION-0027 - Governance Action OMES in server {0} is unable to start any governance action enginesOMES-GOVERNANCE-ACTION-0031 - The governance action service {0} linked to request type {1} can not be started because it is not a governance action service.OMES-GOVERNANCE-ACTION-0016 - The Governance Action OMES in server {0} has completed shutdownOMES-GOVERNANCE-ACTION-0014 - The Governance Action OMES in server {0} is shutting downOMES-GOVERNANCE-ACTION-0002 - The Governance Action OMES is unable to initialize a new instance of itself in server {0}; error message is {1}OMES-GOVERNANCE-ACTION-0033 - The Governance Action OMES has received an unexpected {0} exception during method {1}; the error message was: {2}OMES-GOVERNANCE-ACTION-0030 - The governance action service {0} linked to request type {1} can not be started because the Governance Action OMES does not support the {2} type of governance action service. -
Method Summary
Modifier and TypeMethodDescriptionRetrieve a message definition object for logging.getMessageDefinition
(String... params) Retrieve a message definition object for logging.toString()
toString() JSON-stylestatic GovernanceActionAuditCode
Returns the enum constant of this class with the specified name.static GovernanceActionAuditCode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ENGINE_SERVICE_INITIALIZING
OMES-GOVERNANCE-ACTION-0001 - The Governance Action engine services are initializing in server {0} -
SERVICE_INSTANCE_FAILURE
OMES-GOVERNANCE-ACTION-0002 - The Governance Action OMES is unable to initialize a new instance of itself in server {0}; error message is {1} -
SERVER_SHUTTING_DOWN
OMES-GOVERNANCE-ACTION-0014 - The Governance Action OMES in server {0} is shutting down -
SERVER_SHUTDOWN
OMES-GOVERNANCE-ACTION-0016 - The Governance Action OMES in server {0} has completed shutdown -
GOVERNANCE_ACTION_SERVICE_STARTING
OMES-GOVERNANCE-ACTION-0017 - The {0} governance action service {1} is starting with request type {2} in governance action engine {3} (guid={4}) -
GOVERNANCE_ACTION_SERVICE_FAILED
OMES-GOVERNANCE-ACTION-0018 - The {0} governance action service {1} threw a {2} exception in governance action engine {3} (guid={4}). The error message was {5} -
GOVERNANCE_ACTION_SERVICE_COMPLETE
OMES-GOVERNANCE-ACTION-0019 - The {0} governance action service {1} for request type {2} has completed with status {3} in {4} milliseconds -
GOVERNANCE_ACTION_SERVICE_RETURNED
OMES-GOVERNANCE-ACTION-0020 - The {0} governance action service {1} for request type {2} is continuing to run in a background thread -
NO_GOVERNANCE_ACTION_ENGINES_STARTED
OMES-GOVERNANCE-ACTION-0027 - Governance Action OMES in server {0} is unable to start any governance action engines -
EXC_ON_ERROR_STATUS_UPDATE
OMES-GOVERNANCE-ACTION-0028 - Governance Action engine {0} is unable to update the completion status for governance action service {1}. The exception was {2} with error message {3} -
INVALID_GOVERNANCE_ACTION_SERVICE
The governance action service {0} linked to request type {1} can not be started. The {2} exception was returned with message {3} -
UNKNOWN_GOVERNANCE_ACTION_SERVICE
OMES-GOVERNANCE-ACTION-0030 - The governance action service {0} linked to request type {1} can not be started because the Governance Action OMES does not support the {2} type of governance action service. -
NOT_GOVERNANCE_ACTION_SERVICE
OMES-GOVERNANCE-ACTION-0031 - The governance action service {0} linked to request type {1} can not be started because it is not a governance action service. Its class is {2} rather than a subclass of {3} -
GOVERNANCE_ACTION_INITIALIZED
OMES-GOVERNANCE-ACTION-0032 - {0} governance service ({1}) with request type {2} has initialized in governance engine {3} -
UNEXPECTED_EXCEPTION
OMES-GOVERNANCE-ACTION-0033 - The Governance Action OMES has received an unexpected {0} exception during method {1}; the error message was: {2}
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
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
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
toString() JSON-style- Overrides:
toString
in classEnum<GovernanceActionAuditCode>
- Returns:
- string description
-