Enum Class SecurityOfficerAuditCode
java.lang.Object
java.lang.Enum<SecurityOfficerAuditCode>
org.odpi.openmetadata.accessservices.securityofficer.api.ffdc.SecurityOfficerAuditCode
- All Implemented Interfaces:
Serializable
,Comparable<SecurityOfficerAuditCode>
,Constable
,AuditLogMessageSet
public enum SecurityOfficerAuditCode
extends Enum<SecurityOfficerAuditCode>
implements AuditLogMessageSet
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionOMAS-SECURITY-OFFICER-0007 - Unable to initialize the Security Officer Open Metadata Access Service (OMAS) topic connection {0} for server instance {1}; error message was: {2}OMAS-SECURITY-OFFICER-0010 - The Security Officer Open Metadata Access Service (OMAS) encounter an exception while processing event of type {0}OMAS-SECURITY-OFFICER-0015 - The Security Officer Open Metadata Access Service (OMAS) has sent event of type: {0}OMAS-SECURITY-OFFICER-0014 - The Security Officer Open Metadata Access Service (OMAS) is unable to send an event on its out topic {0}; exception {1} returned message: {2}OMAS-SECURITY-OFFICER-0008 - Event {0} could not be published: {1}OMAS-SECURITY-OFFICER-0003 - The Security Officer Open Metadata Access Service (OMAS) has initialized a new instance for server {0}OMAS-SECURITY-OFFICER-0001 - The Security Officer Open Metadata Access Service (OMAS) is initializingOMAS-SECURITY-OFFICER-0006 - The Security Officer Open Metadata Access Service (OMAS) is unable to initialize a new instance; error message is {0}OMAS-SECURITY-OFFICER-0002 - The Security Officer Open Metadata Access Service (OMAS) is registering a listener with the OMRS Topic for server instance {0}OMAS-SECURITY-OFFICER-0005 - The Security Officer Open Metadata Access Service (OMAS) has completed shutdown of server instance {0}OMAS-SECURITY-OFFICER-0004 - The Security Officer Open Metadata Access Service (OMAS) is shutting down server instance {0}OMAS-SECURITY-OFFICER-0009 - A {0} exception was caught during start up of service {1} for server {2}. -
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 SecurityOfficerAuditCode
Returns the enum constant of this class with the specified name.static SecurityOfficerAuditCode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SERVICE_INITIALIZING
OMAS-SECURITY-OFFICER-0001 - The Security Officer Open Metadata Access Service (OMAS) is initializing -
SERVICE_REGISTERED_WITH_TOPIC
OMAS-SECURITY-OFFICER-0002 - The Security Officer Open Metadata Access Service (OMAS) is registering a listener with the OMRS Topic for server instance {0} -
SERVICE_INITIALIZED
OMAS-SECURITY-OFFICER-0003 - The Security Officer Open Metadata Access Service (OMAS) has initialized a new instance for server {0} -
SERVICE_TERMINATING
OMAS-SECURITY-OFFICER-0004 - The Security Officer Open Metadata Access Service (OMAS) is shutting down server instance {0} -
SERVICE_SHUTDOWN
OMAS-SECURITY-OFFICER-0005 - The Security Officer Open Metadata Access Service (OMAS) has completed shutdown of server instance {0} -
SERVICE_INSTANCE_FAILURE
OMAS-SECURITY-OFFICER-0006 - The Security Officer Open Metadata Access Service (OMAS) is unable to initialize a new instance; error message is {0} -
ERROR_INITIALIZING_TOPIC_CONNECTION
OMAS-SECURITY-OFFICER-0007 - Unable to initialize the Security Officer Open Metadata Access Service (OMAS) topic connection {0} for server instance {1}; error message was: {2} -
PUBLISH_EVENT_EXCEPTION
OMAS-SECURITY-OFFICER-0008 - Event {0} could not be published: {1} -
UNEXPECTED_INITIALIZATION_EXCEPTION
OMAS-SECURITY-OFFICER-0009 - A {0} exception was caught during start up of service {1} for server {2}. The error message was: {3} -
EVENT_PROCESSING_ERROR
OMAS-SECURITY-OFFICER-0010 - The Security Officer Open Metadata Access Service (OMAS) encounter an exception while processing event of type {0} -
OUT_TOPIC_FAILURE
OMAS-SECURITY-OFFICER-0014 - The Security Officer Open Metadata Access Service (OMAS) is unable to send an event on its out topic {0}; exception {1} returned message: {2} -
OUT_TOPIC_EVENT
OMAS-SECURITY-OFFICER-0015 - The Security Officer Open Metadata Access Service (OMAS) has sent event of type: {0}
-
-
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<SecurityOfficerAuditCode>
- Returns:
- string of property names and values for this enum
-