Enum Class DcatIntegrationConnectorAuditCode
java.lang.Object
java.lang.Enum<DcatIntegrationConnectorAuditCode>
org.odpi.openmetadata.adapters.connectors.integration.dcat.ffdc.DcatIntegrationConnectorAuditCode
- All Implemented Interfaces:
Serializable,Comparable<DcatIntegrationConnectorAuditCode>,Constable,AuditLogMessageSet
public enum DcatIntegrationConnectorAuditCode
extends Enum<DcatIntegrationConnectorAuditCode>
implements AuditLogMessageSet
The DcatIntegrationConnectorAuditCode 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 ConstantDescriptionDCAT-INTEGRATION-CONNECTOR-0010 - The {0} integration connector published the DCAT catalog for collection {1} to file {2}; it describes {3} dataset(s) and {4} data service(s)DCAT-INTEGRATION-CONNECTOR-0002 - The {0} integration connector is monitoring directory {1} (from {2}) for DCAT documentsDCAT-INTEGRATION-CONNECTOR-0004 - The {0} integration connector is unable to use directory {1} (from {2}): {3}DCAT-INTEGRATION-CONNECTOR-0006 - The {0} integration connector was not able to catalog everything in a DCAT document: {1}DCAT-INTEGRATION-CONNECTOR-0003 - The {0} integration connector published the DCAT document from file {1}DCAT-INTEGRATION-CONNECTOR-0008 - The {0} integration connector has no directory to publish DCAT descriptions toDCAT-INTEGRATION-CONNECTOR-0007 - The {0} integration connector is unable to find a collection called {1}, which is named in its {2} configuration propertyDCAT-INTEGRATION-CONNECTOR-0005 - The {0} integration connector {1} element {2} ({3}) for DCAT {4} {5}DCAT-INTEGRATION-CONNECTOR-0012 - The {0} integration connector was not able to generate the DCAT description of element {1}; the {2} exception had message: {3}DCAT-INTEGRATION-CONNECTOR-0009 - The {0} integration connector published the DCAT description of {1} {2} ({3}) to file {4}DCAT-INTEGRATION-CONNECTOR-0011 - The {0} integration connector removed file {1} because the asset it describes is no longer in the publishing catalogDCAT-INTEGRATION-CONNECTOR-0001 - The {0} integration connector is monitoring topic {1} with connection: {2} for DCAT documentsDCAT-INTEGRATION-CONNECTOR-0013 - The {0} integration connector received an unexpected exception {1} during method {2}; 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 DcatIntegrationConnectorAuditCode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TOPIC_RECEIVER_CONFIGURATION
DCAT-INTEGRATION-CONNECTOR-0001 - The {0} integration connector is monitoring topic {1} with connection: {2} for DCAT documents -
DIRECTORY_MONITORED
DCAT-INTEGRATION-CONNECTOR-0002 - The {0} integration connector is monitoring directory {1} (from {2}) for DCAT documents -
DOCUMENT_PUBLISHED
DCAT-INTEGRATION-CONNECTOR-0003 - The {0} integration connector published the DCAT document from file {1} -
DIRECTORY_NOT_ACCESSIBLE
DCAT-INTEGRATION-CONNECTOR-0004 - The {0} integration connector is unable to use directory {1} (from {2}): {3} -
RESOURCE_CATALOGUED
DCAT-INTEGRATION-CONNECTOR-0005 - The {0} integration connector {1} element {2} ({3}) for DCAT {4} {5} -
DOCUMENT_MAPPING_WARNING
DCAT-INTEGRATION-CONNECTOR-0006 - The {0} integration connector was not able to catalog everything in a DCAT document: {1} -
PUBLISHING_CATALOG_NOT_FOUND
DCAT-INTEGRATION-CONNECTOR-0007 - The {0} integration connector is unable to find a collection called {1}, which is named in its {2} configuration property -
NO_DESTINATION
DCAT-INTEGRATION-CONNECTOR-0008 - The {0} integration connector has no directory to publish DCAT descriptions to -
RESOURCE_STORED
DCAT-INTEGRATION-CONNECTOR-0009 - The {0} integration connector published the DCAT description of {1} {2} ({3}) to file {4} -
CATALOG_STORED
DCAT-INTEGRATION-CONNECTOR-0010 - The {0} integration connector published the DCAT catalog for collection {1} to file {2}; it describes {3} dataset(s) and {4} data service(s) -
RESOURCE_WITHDRAWN
DCAT-INTEGRATION-CONNECTOR-0011 - The {0} integration connector removed file {1} because the asset it describes is no longer in the publishing catalog -
RESOURCE_NOT_PUBLISHED
DCAT-INTEGRATION-CONNECTOR-0012 - The {0} integration connector was not able to generate the DCAT description of element {1}; the {2} exception had message: {3} -
UNEXPECTED_EXCEPTION
DCAT-INTEGRATION-CONNECTOR-0013 - The {0} integration connector received an unexpected exception {1} during method {2}; 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<DcatIntegrationConnectorAuditCode>- Returns:
- string of property names and values for this enum
-