Enum Class GovernanceActionConnectorsAuditCode
java.lang.Object
java.lang.Enum<GovernanceActionConnectorsAuditCode>
org.odpi.openmetadata.adapters.connectors.governanceactions.ffdc.GovernanceActionConnectorsAuditCode
- All Implemented Interfaces:
Serializable
,Comparable<GovernanceActionConnectorsAuditCode>
,Constable
,AuditLogMessageSet
public enum GovernanceActionConnectorsAuditCode
extends Enum<GovernanceActionConnectorsAuditCode>
implements AuditLogMessageSet
The GovernanceActionConnectorsAuditCode is used to define the message content for the OMRS 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 ConstantDescriptionGOVERNANCE-ACTION-CONNECTORS-0024 - {0}GOVERNANCE-ACTION-CONNECTORS-0032 - Integration connector {0} is now cataloging {1} server at {2}GOVERNANCE-ACTION-CONNECTORS-0001 - The {0} governance action service is copying source file {1} to destination file {2}GOVERNANCE-ACTION-CONNECTORS-0004 - The {0} governance action service has created lineage from source {1} to process {2} to destination {3}GOVERNANCE-ACTION-CONNECTORS-0036 - The {0} governance action service has determined that today is {1}GOVERNANCE-ACTION-CONNECTORS-0003 - The {0} governance action service is deleting file {1}GOVERNANCE-ACTION-CONNECTORS-0008 - The {0} governance action service encountered an {1} exception when attempting to retrieve the file path name from the attached endpoint.GOVERNANCE-ACTION-CONNECTORS-0021 - The {0} governance action service is initiating governance action process {1} with request parameters {2} for action targets {3}GOVERNANCE-ACTION-CONNECTORS-0022 - The {0} governance action service encountered an {1} exception initiating governance action process {2} with request parameters {3} for action targets {4}.GOVERNANCE-ACTION-CONNECTORS-0033 - The {0} governance action service has not been passed a {1} action targetGOVERNANCE-ACTION-CONNECTORS-0023 - The {0} governance action service is unable to retrieve the template {1} configured in property {2}.GOVERNANCE-ACTION-CONNECTORS-0002 - The {0} governance action service is moving source file {1} to destination file {2}GOVERNANCE-ACTION-CONNECTORS-0034 - The {0} governance action service has created a new {1} asset called {2} ({3})GOVERNANCE-ACTION-CONNECTORS-0035 - The {0} governance action service has deleted the {1} asset called {2} ({3})GOVERNANCE-ACTION-CONNECTORS-00301- The {0} governance action service has not been passed the unique identifier of an integration connector as an action targetGOVERNANCE-ACTION-CONNECTORS-0010 - The {0} governance action service detected that asset {1} has no linked connectionGOVERNANCE-ACTION-CONNECTORS-0013 - The {0} governance action service detected that asset {1} has no endpoint linked to connection {2}GOVERNANCE-ACTION-CONNECTORS-0015 - The {0} governance action service detected that the endpoint {1} linked to connection {2} for asset {3} has no networkAddressPropertyGOVERNANCE-ACTION-CONNECTORS-0012 - The context for {0} governance action service returned a RelatedMetadataElement with a null related element: {1}GOVERNANCE-ACTION-CONNECTORS-0028 - No request for action annotations detected in survey report {0}GOVERNANCE-ACTION-CONNECTORS-0005 - The {0} governance action service has been called without a source file name to work withGOVERNANCE-ACTION-CONNECTORS-0026 - The {0} governance action service has not been passed a steward as an action targetGOVERNANCE-ACTION-CONNECTORS-0027 - The {0} governance action service has not been passed a survey report as an action targetGOVERNANCE-ACTION-CONNECTORS-0018 - The {0} governance action service has no targets to operate onGOVERNANCE-ACTION-CONNECTORS-0030 - The {0} governance action service has not been passed the unique identifier of the server's template as a request parameterGOVERNANCE-ACTION-CONNECTORS-0019 - The {0} governance action service has publishZones set to nullGOVERNANCE-ACTION-CONNECTORS-0007 - The {0} governance action service encountered an {1} exception when provisioning file {2} to {3} destination folder using the {4} file pattern.GOVERNANCE-ACTION-CONNECTORS-0006 - The {0} governance action service is unable to provision file {1} to {2} destination folder using {3} file patternGOVERNANCE-ACTION-CONNECTORS-0009 - The {0} governance action service is using the qualified name from the Folder asset as the path name: {1}GOVERNANCE-ACTION-CONNECTORS-0029 - {0} request for action annotations detected in survey report {2}GOVERNANCE-ACTION-CONNECTORS-0025 - The {0} governance action service is attaching the retention classification to asset {1} with an archive time of {2} and a delete time of {3}GOVERNANCE-ACTION-CONNECTORS-0020 - The {0} governance action service is publishing asset {1} to the following zones: {2}GOVERNANCE-ACTION-CONNECTORS-0011 - The {0} governance action service detected that asset {1} has {2} linked connections for asset {3} and is not sure which one to use since they have inconsistent networkAddress properties in their endpointGOVERNANCE-ACTION-CONNECTORS-0014 - The {0} governance action service detected that asset {1} has a linked connection {2} with {3} linked endpoints which is not valid: {4}GOVERNANCE-ACTION-CONNECTORS-0017 - The {0} governance action service received a {1} exception when it registered a listener with the governance context.GOVERNANCE-ACTION-CONNECTORS-0016 - The {0} governance action service received a {1} exception when it registered its completion status. -
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 GovernanceActionConnectorsAuditCode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
COPY_FILE
GOVERNANCE-ACTION-CONNECTORS-0001 - The {0} governance action service is copying source file {1} to destination file {2} -
MOVE_FILE
GOVERNANCE-ACTION-CONNECTORS-0002 - The {0} governance action service is moving source file {1} to destination file {2} -
DELETE_FILE
GOVERNANCE-ACTION-CONNECTORS-0003 - The {0} governance action service is deleting file {1} -
CREATED_LINEAGE
GOVERNANCE-ACTION-CONNECTORS-0004 - The {0} governance action service has created lineage from source {1} to process {2} to destination {3} -
NO_SOURCE_FILE_NAME
GOVERNANCE-ACTION-CONNECTORS-0005 - The {0} governance action service has been called without a source file name to work with -
PROVISIONING_FAILURE
GOVERNANCE-ACTION-CONNECTORS-0006 - The {0} governance action service is unable to provision file {1} to {2} destination folder using {3} file pattern -
PROVISIONING_EXCEPTION
GOVERNANCE-ACTION-CONNECTORS-0007 - The {0} governance action service encountered an {1} exception when provisioning file {2} to {3} destination folder using the {4} file pattern. The exception message included was {5} -
ENDPOINT_EXCEPTION
GOVERNANCE-ACTION-CONNECTORS-0008 - The {0} governance action service encountered an {1} exception when attempting to retrieve the file path name from the attached endpoint. The exception message included was {5} -
QUALIFIED_NAME_PATH_NAME
GOVERNANCE-ACTION-CONNECTORS-0009 - The {0} governance action service is using the qualified name from the Folder asset as the path name: {1} -
NO_LINKED_CONNECTION
GOVERNANCE-ACTION-CONNECTORS-0010 - The {0} governance action service detected that asset {1} has no linked connection -
TOO_MANY_CONNECTIONS
GOVERNANCE-ACTION-CONNECTORS-0011 - The {0} governance action service detected that asset {1} has {2} linked connections for asset {3} and is not sure which one to use since they have inconsistent networkAddress properties in their endpoint -
NO_RELATED_ASSET
GOVERNANCE-ACTION-CONNECTORS-0012 - The context for {0} governance action service returned a RelatedMetadataElement with a null related element: {1} -
NO_LINKED_ENDPOINT
GOVERNANCE-ACTION-CONNECTORS-0013 - The {0} governance action service detected that asset {1} has no endpoint linked to connection {2} -
TOO_MANY_ENDPOINTS
GOVERNANCE-ACTION-CONNECTORS-0014 - The {0} governance action service detected that asset {1} has a linked connection {2} with {3} linked endpoints which is not valid: {4} -
NO_NETWORK_ADDRESS
GOVERNANCE-ACTION-CONNECTORS-0015 - The {0} governance action service detected that the endpoint {1} linked to connection {2} for asset {3} has no networkAddressProperty -
UNABLE_TO_SET_COMPLETION_STATUS
GOVERNANCE-ACTION-CONNECTORS-0016 - The {0} governance action service received a {1} exception when it registered its completion status. The exception's message is: {2} -
UNABLE_TO_REGISTER_LISTENER
GOVERNANCE-ACTION-CONNECTORS-0017 - The {0} governance action service received a {1} exception when it registered a listener with the governance context. The exception's message is: {2} -
NO_TARGETS
GOVERNANCE-ACTION-CONNECTORS-0018 - The {0} governance action service has no targets to operate on -
NO_ZONES
GOVERNANCE-ACTION-CONNECTORS-0019 - The {0} governance action service has publishZones set to null -
SETTING_ZONES
GOVERNANCE-ACTION-CONNECTORS-0020 - The {0} governance action service is publishing asset {1} to the following zones: {2} -
INITIATE_PROCESS
GOVERNANCE-ACTION-CONNECTORS-0021 - The {0} governance action service is initiating governance action process {1} with request parameters {2} for action targets {3} -
INITIATE_PROCESS_EXCEPTION
GOVERNANCE-ACTION-CONNECTORS-0022 - The {0} governance action service encountered an {1} exception initiating governance action process {2} with request parameters {3} for action targets {4}. The exception message included was {5} -
MISSING_TEMPLATE
GOVERNANCE-ACTION-CONNECTORS-0023 - The {0} governance action service is unable to retrieve the template {1} configured in property {2}. The asset {3} was created without a template -
BLANK_INFO_LOG_MESSAGE
GOVERNANCE-ACTION-CONNECTORS-0024 - {0} -
SETTING_RETENTION
GOVERNANCE-ACTION-CONNECTORS-0025 - The {0} governance action service is attaching the retention classification to asset {1} with an archive time of {2} and a delete time of {3} -
NO_STEWARD
GOVERNANCE-ACTION-CONNECTORS-0026 - The {0} governance action service has not been passed a steward as an action target -
NO_SURVEY_REPORT
GOVERNANCE-ACTION-CONNECTORS-0027 - The {0} governance action service has not been passed a survey report as an action target -
NO_RFAS
GOVERNANCE-ACTION-CONNECTORS-0028 - No request for action annotations detected in survey report {0} -
RFAS_DETECTED
GOVERNANCE-ACTION-CONNECTORS-0029 - {0} request for action annotations detected in survey report {2} -
NO_TEMPLATE_GUID
GOVERNANCE-ACTION-CONNECTORS-0030 - The {0} governance action service has not been passed the unique identifier of the server's template as a request parameter -
NO_CONNECTOR
GOVERNANCE-ACTION-CONNECTORS-00301- The {0} governance action service has not been passed the unique identifier of an integration connector as an action target -
CONNECTOR_CONFIGURED
GOVERNANCE-ACTION-CONNECTORS-0032 - Integration connector {0} is now cataloging {1} server at {2} -
MISSING_ACTION_TARGET
GOVERNANCE-ACTION-CONNECTORS-0033 - The {0} governance action service has not been passed a {1} action target -
NEW_ASSET_CREATED
GOVERNANCE-ACTION-CONNECTORS-0034 - The {0} governance action service has created a new {1} asset called {2} ({3}) -
NEW_ASSET_DELETED
GOVERNANCE-ACTION-CONNECTORS-0035 - The {0} governance action service has deleted the {1} asset called {2} ({3}) -
DAY_OF_THE_WEEK
GOVERNANCE-ACTION-CONNECTORS-0036 - The {0} governance action service has determined that today is {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<GovernanceActionConnectorsAuditCode>
- Returns:
- string of property names and values for this enum
-