Enum Class ServerOpsAuditCode
- All Implemented Interfaces:
Serializable
,Comparable<ServerOpsAuditCode>
,Constable
,AuditLogMessageSet
The ServerOpsAuditCode 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 ConstantDescriptionSERVER-OPS-0017 - The admin services caught an unexpected {0} exception whilst initializing the {1} service.SERVER-OPS-0015 - The {0} access service is unable to initialize a new instance; error message is {1}SERVER-OPS-0012 - {0} out of {1} configured Open Metadata Access Services (OMASs) have startedSERVER-OPS-0014 - The Open Metadata Access Services (OMASs) in server {0} have shutdownSERVER-OPS-0042 - {0} out of {1} configured Open Metadata Engine Services (OMESs) have startedSERVER-OPS-0044 - The Open Metadata Engine Services (OMESs) in server {0} have shutdownSERVER-OPS-0022 - {0} out of {1} configured Open Metadata View Services (OMVSs) have startedSERVER-OPS-0024 - The Open Metadata View Services (OMVSs) in server {0} have shutdownSERVER-OPS-0016 - The admin services are not able to start the {0} access service because the admin service class {1} is invalid; error message is {2}SERVER-OPS-0046 - The admin services are not able to start the {0} engine service because the admin service class {1} is invalid; error message is {2}SERVER-OPS-0026 - The admin services are not able to start the {0} view service because the admin service class {1} is invalid; error message is {2}SERVER-OPS-0047 - The admin services caught an unexpected {0} exception whilst initializing the {1} service for an engine host server.SERVER-OPS-0045 - The {0} engine service is unable to initialize a new instance; error message is {1}SERVER-OPS-0102 - The admin services caught an {0} exception whilst initializing the governance services subsystem for the {1} called {2}; error message is {3}SERVER-OPS-0101 - The governance services subsystem for the {0} called {1} has completed start upSERVER-OPS-0003 - The {0} server is configured with an invalid max page size of {1}SERVER-OPS-0001 - The {0} server is configured with a max page size of {1}SERVER-OPS-0018 - The OMAG server {0} has been passed a null admin services class name for access service {1}SERVER-OPS-0048 - The OMAG server {0} has been passed a null admin services class name for engine service {1}SERVER-OPS-0028 - The OMAG server {0} has been passed a null admin services class name for view service {1}SERVER-OPS-0007 - The {0} server has detected an {1} exception during server shutdown.SERVER-OPS-0005 - The {0} server has begun the shutdown processSERVER-OPS-0006 - The {0} server has completed shutdownSERVER-OPS-0004 - The {0} server has successfully completed start up.SERVER-OPS-0011 - The {0} is marked as DISABLED and so will not be started in the {1} serverSERVER-OPS-0041- The {0} engine service is marked as DISABLED and so will not be started in the {1} engine host serverSERVER-OPS-0021 - The {0} is marked as DISABLED and so will not be started in the {1} view serverSERVER-OPS-0010 - The Open Metadata Access Services (OMASs) are startingSERVER-OPS-0040 - The Open Metadata Engine Services (OMESs) are startingSERVER-OPS-0100 - The governance services subsystem for the {0} called {1} is about to startSERVER-OPS-0020 - The Open Metadata View Services (OMVSs) are startingSERVER-OPS-0013 - The Open Metadata Access Services (OMASs) in server {0} are shutting downSERVER-OPS-0043 - The Open Metadata Engine Services (OMESs) in server {0} are shutting downSERVER-OPS-0023 - The Open Metadata View Services (OMVSs) in server {0} are shutting downSERVER-OPS-0002 - The {0} server is configured with an unlimited maximum page sizeSERVER-OPS-0027 - The admin services caught an unexpected {0} exception whilst initializing the {1} service for a view server.SERVER-OPS-0025 - The {0} view service is unable to initialize a new instance; error message is {1} -
Method Summary
Modifier and TypeMethodDescriptionRetrieve a message definition object for logging.getMessageDefinition
(String... params) Retrieve a message definition object for logging.static ServerOpsAuditCode
Returns the enum constant of this class with the specified name.static ServerOpsAuditCode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MAX_PAGE_SIZE
SERVER-OPS-0001 - The {0} server is configured with a max page size of {1} -
UNLIMITED_MAX_PAGE_SIZE
SERVER-OPS-0002 - The {0} server is configured with an unlimited maximum page size -
INVALID_MAX_PAGE_SIZE
SERVER-OPS-0003 - The {0} server is configured with an invalid max page size of {1} -
SERVER_STARTUP_SUCCESS
SERVER-OPS-0004 - The {0} server has successfully completed start up. The following services are running: {1} -
SERVER_SHUTDOWN_STARTED
SERVER-OPS-0005 - The {0} server has begun the shutdown process -
SERVER_SHUTDOWN_SUCCESS
SERVER-OPS-0006 - The {0} server has completed shutdown -
SERVER_SHUTDOWN_ERROR
SERVER-OPS-0007 - The {0} server has detected an {1} exception during server shutdown. The error message was {2} -
STARTING_ACCESS_SERVICES
SERVER-OPS-0010 - The Open Metadata Access Services (OMASs) are starting -
SKIPPING_ACCESS_SERVICE
SERVER-OPS-0011 - The {0} is marked as DISABLED and so will not be started in the {1} server -
ALL_ACCESS_SERVICES_STARTED
SERVER-OPS-0012 - {0} out of {1} configured Open Metadata Access Services (OMASs) have started -
STOPPING_ACCESS_SERVICES
SERVER-OPS-0013 - The Open Metadata Access Services (OMASs) in server {0} are shutting down -
ALL_ACCESS_SERVICES_STOPPED
SERVER-OPS-0014 - The Open Metadata Access Services (OMASs) in server {0} have shutdown -
ACCESS_SERVICE_INSTANCE_FAILURE
SERVER-OPS-0015 - The {0} access service is unable to initialize a new instance; error message is {1} -
BAD_ACCESS_SERVICE_ADMIN_CLASS
SERVER-OPS-0016 - The admin services are not able to start the {0} access service because the admin service class {1} is invalid; error message is {2} -
ACCESS_SERVICE_FAILURE
SERVER-OPS-0017 - The admin services caught an unexpected {0} exception whilst initializing the {1} service. The error message is {2} -
NULL_ACCESS_SERVICE_ADMIN_CLASS
SERVER-OPS-0018 - The OMAG server {0} has been passed a null admin services class name for access service {1} -
STARTING_VIEW_SERVICES
SERVER-OPS-0020 - The Open Metadata View Services (OMVSs) are starting -
SKIPPING_VIEW_SERVICE
SERVER-OPS-0021 - The {0} is marked as DISABLED and so will not be started in the {1} view server -
ALL_VIEW_SERVICES_STARTED
SERVER-OPS-0022 - {0} out of {1} configured Open Metadata View Services (OMVSs) have started -
STOPPING_VIEW_SERVICES
SERVER-OPS-0023 - The Open Metadata View Services (OMVSs) in server {0} are shutting down -
ALL_VIEW_SERVICES_STOPPED
SERVER-OPS-0024 - The Open Metadata View Services (OMVSs) in server {0} have shutdown -
VIEW_SERVICE_INSTANCE_FAILURE
SERVER-OPS-0025 - The {0} view service is unable to initialize a new instance; error message is {1} -
BAD_VIEW_SERVICE_ADMIN_CLASS
SERVER-OPS-0026 - The admin services are not able to start the {0} view service because the admin service class {1} is invalid; error message is {2} -
VIEW_SERVICE_FAILURE
SERVER-OPS-0027 - The admin services caught an unexpected {0} exception whilst initializing the {1} service for a view server. The error message is {2} -
NULL_VIEW_SERVICE_ADMIN_CLASS
SERVER-OPS-0028 - The OMAG server {0} has been passed a null admin services class name for view service {1} -
STARTING_ENGINE_SERVICES
SERVER-OPS-0040 - The Open Metadata Engine Services (OMESs) are starting -
SKIPPING_ENGINE_SERVICE
SERVER-OPS-0041- The {0} engine service is marked as DISABLED and so will not be started in the {1} engine host server -
ALL_ENGINE_SERVICES_STARTED
SERVER-OPS-0042 - {0} out of {1} configured Open Metadata Engine Services (OMESs) have started -
STOPPING_ENGINE_SERVICES
SERVER-OPS-0043 - The Open Metadata Engine Services (OMESs) in server {0} are shutting down -
ALL_ENGINE_SERVICES_STOPPED
SERVER-OPS-0044 - The Open Metadata Engine Services (OMESs) in server {0} have shutdown -
ENGINE_SERVICE_INSTANCE_FAILURE
SERVER-OPS-0045 - The {0} engine service is unable to initialize a new instance; error message is {1} -
BAD_ENGINE_SERVICE_ADMIN_CLASS
SERVER-OPS-0046 - The admin services are not able to start the {0} engine service because the admin service class {1} is invalid; error message is {2} -
ENGINE_SERVICE_FAILURE
SERVER-OPS-0047 - The admin services caught an unexpected {0} exception whilst initializing the {1} service for an engine host server. The error message is {2} -
NULL_ENGINE_SERVICE_ADMIN_CLASS
SERVER-OPS-0048 - The OMAG server {0} has been passed a null admin services class name for engine service {1} -
STARTING_GOVERNANCE_SERVICES
SERVER-OPS-0100 - The governance services subsystem for the {0} called {1} is about to start -
GOVERNANCE_SERVICES_STARTED
SERVER-OPS-0101 - The governance services subsystem for the {0} called {1} has completed start up -
GOVERNANCE_SERVICE_FAILURE
SERVER-OPS-0102 - The admin services caught an {0} exception whilst initializing the governance services subsystem for the {1} called {2}; error message is {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:
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.
-