Enum Class XTDBAuditCode
java.lang.Object
java.lang.Enum<XTDBAuditCode>
org.odpi.openmetadata.adapters.repositoryservices.xtdb.repositoryconnector.ffdc.XTDBAuditCode
- All Implemented Interfaces:
Serializable
,Comparable<XTDBAuditCode>
,Constable
,AuditLogMessageSet
The XTDBAuditCode is used to define the message content for the 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
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionOMRS-XTDB-REPOSITORY-0010 - Unable to read the configuration for the XTDB repository node due to {0}OMRS-XTDB-REPOSITORY-0019 - Unable to deserialize a value for {0} in type {1} into {2} due to: {3}OMRS-XTDB-REPOSITORY-0013 - "Found more than one property in the instanceType {0} with the name {1}: {2}OMRS-XTDB-REPOSITORY-0007 - The XTDB repository failed to cascade deletions of relationship {0} for entity {1} due to {2}OMRS-XTDB-REPOSITORY-0006 - The XTDB repository failed to cascade deletions of all relationships for entity {0} due to {1}OMRS-XTDB-REPOSITORY-0009 - The XTDB repository node failed to shut down due to {0}OMRS-XTDB-REPOSITORY-0008 - The XTDB repository node failed to start due to {0}OMRS-XTDB-REPOSITORY-0011 - Unable to retrieve an instance of kind {0} with GUID {1}: {2}OMRS-XTDB-REPOSITORY-0016 - A search was requested for property {0} which does not match any of the type restrictions: {1}OMRS-XTDB-REPOSITORY-0017 - A search was requested for property {0} using an invalid comparison operator: {1}OMRS-XTDB-REPOSITORY-0021 - Unable to map the retrieved {0} instance with XTDB reference {1} into an Egeria object: {2}OMRS-XTDB-REPOSITORY-0025 - A non-string value was provided for a regex search: {0}OMRS-XTDB-REPOSITORY-0026 - Cannot sort by property {0} on types: {1}OMRS-XTDB-REPOSITORY-0022 - The requested {0} enumeration with ordinal or symbolic name {1} does not existOMRS-XTDB-REPOSITORY-0024 - Unable to retrieve by GUID when the instance type has no GUID: {0}OMRS-XTDB-REPOSITORY-0001 - A request to start an XTDB repository node has been receivedOMRS-XTDB-REPOSITORY-0003 - An XTDB repository node is starting in-memory (only)OMRS-XTDB-REPOSITORY-0002 - An XTDB repository node is starting with a persistent storeOMRS-XTDB-REPOSITORY-0005 - The XTDB repository node has shutdown in server {0}OMRS-XTDB-REPOSITORY-0004 - An XTDB repository node has started, running XTDB version {0} with: {1}OMRS-XTDB-REPOSITORY-0018 - Unable to serialize a value for {0} in type {1} due to: {2}OMRS-XTDB-REPOSITORY-0020 - An unexpected runtime error occurred caused by {1}: {0}OMRS-XTDB-REPOSITORY-0015 - The specified comparison operator is not mapped: {0}OMRS-XTDB-REPOSITORY-0014 - The specified search criteria for matching is not mapped: {0}OMRS-XTDB-REPOSITORY-0023 - Unable to map the property {0} as part of {1}OMRS-XTDB-REPOSITORY-0012 - The specified type {0} is not mapped in this repository -
Method Summary
Modifier and TypeMethodDescriptionRetrieve a message definition object for logging.getMessageDefinition
(String... params) Retrieve a message definition object for logging.toString()
JSON-style toStringstatic XTDBAuditCode
Returns the enum constant of this class with the specified name.static XTDBAuditCode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
REPOSITORY_NODE_STARTING
OMRS-XTDB-REPOSITORY-0001 - A request to start an XTDB repository node has been received -
REPOSITORY_NODE_STARTING_WITH_CONFIG
OMRS-XTDB-REPOSITORY-0002 - An XTDB repository node is starting with a persistent store -
REPOSITORY_NODE_STARTING_NO_CONFIG
OMRS-XTDB-REPOSITORY-0003 - An XTDB repository node is starting in-memory (only) -
REPOSITORY_SERVICE_STARTED
OMRS-XTDB-REPOSITORY-0004 - An XTDB repository node has started, running XTDB version {0} with: {1} -
REPOSITORY_SERVICE_SHUTDOWN
OMRS-XTDB-REPOSITORY-0005 - The XTDB repository node has shutdown in server {0} -
FAILED_RELATIONSHIP_DELETE_CASCADE
OMRS-XTDB-REPOSITORY-0006 - The XTDB repository failed to cascade deletions of all relationships for entity {0} due to {1} -
FAILED_RELATIONSHIP_DELETE
OMRS-XTDB-REPOSITORY-0007 - The XTDB repository failed to cascade deletions of relationship {0} for entity {1} due to {2} -
FAILED_REPOSITORY_STARTUP
OMRS-XTDB-REPOSITORY-0008 - The XTDB repository node failed to start due to {0} -
FAILED_REPOSITORY_SHUTDOWN
OMRS-XTDB-REPOSITORY-0009 - The XTDB repository node failed to shut down due to {0} -
CANNOT_READ_CONFIGURATION
OMRS-XTDB-REPOSITORY-0010 - Unable to read the configuration for the XTDB repository node due to {0} -
FAILED_RETRIEVAL
OMRS-XTDB-REPOSITORY-0011 - Unable to retrieve an instance of kind {0} with GUID {1}: {2} -
UNMAPPED_TYPE
OMRS-XTDB-REPOSITORY-0012 - The specified type {0} is not mapped in this repository -
DUPLICATE_PROPERTIES
OMRS-XTDB-REPOSITORY-0013 - "Found more than one property in the instanceType {0} with the name {1}: {2} -
UNMAPPED_MATCH_CRITERIA
OMRS-XTDB-REPOSITORY-0014 - The specified search criteria for matching is not mapped: {0} -
UNKNOWN_COMPARISON_OPERATOR
OMRS-XTDB-REPOSITORY-0015 - The specified comparison operator is not mapped: {0} -
INVALID_PROPERTY
OMRS-XTDB-REPOSITORY-0016 - A search was requested for property {0} which does not match any of the type restrictions: {1} -
INVALID_STRING_COMPARISON
OMRS-XTDB-REPOSITORY-0017 - A search was requested for property {0} using an invalid comparison operator: {1} -
SERIALIZATION_FAILURE
OMRS-XTDB-REPOSITORY-0018 - Unable to serialize a value for {0} in type {1} due to: {2} -
DESERIALIZATION_FAILURE
OMRS-XTDB-REPOSITORY-0019 - Unable to deserialize a value for {0} in type {1} into {2} due to: {3} -
UNEXPECTED_RUNTIME_ERROR
OMRS-XTDB-REPOSITORY-0020 - An unexpected runtime error occurred caused by {1}: {0} -
MAPPING_FAILURE
OMRS-XTDB-REPOSITORY-0021 - Unable to map the retrieved {0} instance with XTDB reference {1} into an Egeria object: {2} -
NON_EXISTENT_ENUM
OMRS-XTDB-REPOSITORY-0022 - The requested {0} enumeration with ordinal or symbolic name {1} does not exist -
UNMAPPED_PROPERTY
OMRS-XTDB-REPOSITORY-0023 - Unable to map the property {0} as part of {1} -
NON_INSTANCE_RETRIEVAL
OMRS-XTDB-REPOSITORY-0024 - Unable to retrieve by GUID when the instance type has no GUID: {0} -
NO_REGEX
OMRS-XTDB-REPOSITORY-0025 - A non-string value was provided for a regex search: {0} -
NO_SORT_PROPERTY
OMRS-XTDB-REPOSITORY-0026 - Cannot sort by property {0} on types: {1}
-
-
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<XTDBAuditCode>
- Returns:
- string of property names and values for this enum
-