Enum Class BitolIntegrationConnectorAuditCode
java.lang.Object
java.lang.Enum<BitolIntegrationConnectorAuditCode>
org.odpi.openmetadata.adapters.connectors.integration.bitol.ffdc.BitolIntegrationConnectorAuditCode
- All Implemented Interfaces:
Serializable,Comparable<BitolIntegrationConnectorAuditCode>,Constable,AuditLogMessageSet
public enum BitolIntegrationConnectorAuditCode
extends Enum<BitolIntegrationConnectorAuditCode>
implements AuditLogMessageSet
The BitolIntegrationConnectorAuditCode 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 ConstantsEnum ConstantDescriptionBITOL-INTEGRATION-CONNECTOR-0002 - The {0} integration connector is monitoring directory {1} (from {2}) for Bitol documentsBITOL-INTEGRATION-CONNECTOR-0004 - The {0} integration connector is unable to read directory {1} (from {2}): {3}BITOL-INTEGRATION-CONNECTOR-0006 - The {0} integration connector {1} element {2} for {3} document {4} version {5}BITOL-INTEGRATION-CONNECTOR-0009 - The {0} integration connector generated and published the {1} document {2} version {3} from element {4}BITOL-INTEGRATION-CONNECTOR-0007 - The {0} integration connector could not fully represent {1} document {2} version {3}: {4}BITOL-INTEGRATION-CONNECTOR-0003 - The {0} integration connector published the {1} document from file {2}BITOL-INTEGRATION-CONNECTOR-0005 - The {0} integration connector stored a {1} document as {2}BITOL-INTEGRATION-CONNECTOR-0008 - The {0} integration connector skipped a {1} document because it has no identifier; the document begins: {2}BITOL-INTEGRATION-CONNECTOR-0011 - The {0} integration connector catalogued the {1} document file {2} as asset {3} with deployed implementation type {4}BITOL-INTEGRATION-CONNECTOR-0012 - The {0} integration connector could not catalog the {1} document file {2}: {3}BITOL-INTEGRATION-CONNECTOR-0001 - The {0} integration connector is monitoring topic {1} with connection: {2} for Bitol documentsBITOL-INTEGRATION-CONNECTOR-0010 - The {0} integration connector received an unexpected {1} exception in method {2} when working with Bitol documents; the error message was: {3} -
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 BitolIntegrationConnectorAuditCode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TOPIC_RECEIVER_CONFIGURATION
BITOL-INTEGRATION-CONNECTOR-0001 - The {0} integration connector is monitoring topic {1} with connection: {2} for Bitol documents -
DIRECTORY_MONITORED
BITOL-INTEGRATION-CONNECTOR-0002 - The {0} integration connector is monitoring directory {1} (from {2}) for Bitol documents -
DOCUMENT_PUBLISHED
BITOL-INTEGRATION-CONNECTOR-0003 - The {0} integration connector published the {1} document from file {2} -
DIRECTORY_NOT_ACCESSIBLE
BITOL-INTEGRATION-CONNECTOR-0004 - The {0} integration connector is unable to read directory {1} (from {2}): {3} -
DOCUMENT_STORED
BITOL-INTEGRATION-CONNECTOR-0005 - The {0} integration connector stored a {1} document as {2} -
DOCUMENT_CATALOGUED
BITOL-INTEGRATION-CONNECTOR-0006 - The {0} integration connector {1} element {2} for {3} document {4} version {5} -
DOCUMENT_MAPPING_WARNING
BITOL-INTEGRATION-CONNECTOR-0007 - The {0} integration connector could not fully represent {1} document {2} version {3}: {4} -
DOCUMENT_WITHOUT_ID
BITOL-INTEGRATION-CONNECTOR-0008 - The {0} integration connector skipped a {1} document because it has no identifier; the document begins: {2} -
DOCUMENT_GENERATED
BITOL-INTEGRATION-CONNECTOR-0009 - The {0} integration connector generated and published the {1} document {2} version {3} from element {4} -
FILE_CATALOGUED
BITOL-INTEGRATION-CONNECTOR-0011 - The {0} integration connector catalogued the {1} document file {2} as asset {3} with deployed implementation type {4} -
FILE_NOT_CATALOGUED
BITOL-INTEGRATION-CONNECTOR-0012 - The {0} integration connector could not catalog the {1} document file {2}: {3} -
UNEXPECTED_EXCEPTION
BITOL-INTEGRATION-CONNECTOR-0010 - The {0} integration connector received an unexpected {1} exception in method {2} when working with Bitol documents; the error message was: {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:
getMessageDefinitionin 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:
getMessageDefinitionin 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:
toStringin classEnum<BitolIntegrationConnectorAuditCode>- Returns:
- string of property names and values for this enum
-