Enum Class RepositoryGovernanceAuditCode
java.lang.Object
java.lang.Enum<RepositoryGovernanceAuditCode>
org.odpi.openmetadata.engineservices.repositorygovernance.ffdc.RepositoryGovernanceAuditCode
- All Implemented Interfaces:
Serializable
,Comparable<RepositoryGovernanceAuditCode>
,Constable
,AuditLogMessageSet
public enum RepositoryGovernanceAuditCode
extends Enum<RepositoryGovernanceAuditCode>
implements AuditLogMessageSet
The RepositoryGovernanceAuditCode 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-REPOSITORY-GOVERNANCE-0001 - The Repository Governance engine services are initializing in server {0}OMES-REPOSITORY-GOVERNANCE-0021 - RepositoryGovernance engine {0} is unable to update the status for repository governance service {1}.OMES-REPOSITORY-GOVERNANCE-0029 - The repository governance service {0} linked to repository governance request type {1} can not be started.OMES-REPOSITORY-GOVERNANCE-0020 - Repository Governance OMES in server {0} is unable to start any repository governance enginesOMES-REPOSITORY-GOVERNANCE-0019 - The repository governance service {0} has completed repository governance request type {1} in {2} millisecondsOMES-REPOSITORY-GOVERNANCE-0018 - The repository governance service {0} threw a {1} exception during repository governance request type {2} in repository governance engine {3} (guid={4}).OMES-REPOSITORY-GOVERNANCE-0017 - The repository governance service {0} for request type {1} is continuing to run in a background threadOMES-REPOSITORY-GOVERNANCE-0016 - The repository governance service {0} is starting with repository governance request type {1} in repository governance engine {2} (guid={3})OMES-REPOSITORY-GOVERNANCE-0015 - The Repository Governance OMES in server {0} has completed shutdownOMES-REPOSITORY-GOVERNANCE-0014 - The Repository Governance OMES in server {0} is shutting downOMES-REPOSITORY-GOVERNANCE-0012 - The Repository Governance OMES is unable to initialize a new instance of itself in server {0}; error message is {1} -
Method Summary
Modifier and TypeMethodDescriptionRetrieve a message definition object for logging.getMessageDefinition
(String... params) Retrieve a message definition object for logging.toString()
JSON-style toStringReturns the enum constant of this class with the specified name.static RepositoryGovernanceAuditCode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ENGINE_SERVICE_INITIALIZING
OMES-REPOSITORY-GOVERNANCE-0001 - The Repository Governance engine services are initializing in server {0} -
SERVICE_INSTANCE_FAILURE
OMES-REPOSITORY-GOVERNANCE-0012 - The Repository Governance OMES is unable to initialize a new instance of itself in server {0}; error message is {1} -
SERVER_SHUTTING_DOWN
OMES-REPOSITORY-GOVERNANCE-0014 - The Repository Governance OMES in server {0} is shutting down -
SERVER_SHUTDOWN
OMES-REPOSITORY-GOVERNANCE-0015 - The Repository Governance OMES in server {0} has completed shutdown -
REPOSITORY_GOVERNANCE_SERVICE_STARTING
OMES-REPOSITORY-GOVERNANCE-0016 - The repository governance service {0} is starting with repository governance request type {1} in repository governance engine {2} (guid={3}) -
REPOSITORY_GOVERNANCE_SERVICE_RETURNED
OMES-REPOSITORY-GOVERNANCE-0017 - The repository governance service {0} for request type {1} is continuing to run in a background thread -
REPOSITORY_GOVERNANCE_SERVICE_FAILED
OMES-REPOSITORY-GOVERNANCE-0018 - The repository governance service {0} threw a {1} exception during repository governance request type {2} in repository governance engine {3} (guid={4}). The error message was {5} -
REPOSITORY_GOVERNANCE_SERVICE_COMPLETE
OMES-REPOSITORY-GOVERNANCE-0019 - The repository governance service {0} has completed repository governance request type {1} in {2} milliseconds -
NO_REPOSITORY_GOVERNANCE_ENGINES_STARTED
OMES-REPOSITORY-GOVERNANCE-0020 - Repository Governance OMES in server {0} is unable to start any repository governance engines -
EXC_ON_ERROR_STATUS_UPDATE
OMES-REPOSITORY-GOVERNANCE-0021 - RepositoryGovernance engine {0} is unable to update the status for repository governance service {1}. The exception was {2} with error message {3} -
INVALID_REPOSITORY_GOVERNANCE_SERVICE
OMES-REPOSITORY-GOVERNANCE-0029 - The repository governance service {0} linked to repository governance request type {1} can not be started. The {2} exception was returned with message {3}
-
-
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
JSON-style toString- Overrides:
toString
in classEnum<RepositoryGovernanceAuditCode>
- Returns:
- string of property names and values for this enum
-