@MessageLogger(projectCode="OSTXNRECOVERY")
public interface I18NLogger
| Modifier and Type | Field and Description |
|---|---|
static I18NLogger |
logger |
| Modifier and Type | Method and Description |
|---|---|
void |
error_cannotPersistRecord(ApplicationRecoveryPod record,
Throwable cause) |
void |
error_cannotRemoveRecord(ApplicationRecoveryPod record,
Throwable cause) |
void |
error_dbTableDoesNotExist(String tableName,
Throwable cause) |
void |
error_schemaExportFailure(List reasons) |
String |
msg_applicationPodName() |
String |
msg_command() |
String |
msg_database() |
String |
msg_errHelpMessage() |
String |
msg_format() |
String |
msg_help() |
String |
msg_hibernateDialect() |
String |
msg_host() |
String |
msg_jdbcDriverClass() |
String |
msg_password() |
String |
msg_port() |
String |
msg_recoveryPodName() |
String |
msg_tableName() |
String |
msg_typeDb() |
String |
msg_url() |
String |
msg_user() |
String |
msg_verbose() |
static final I18NLogger logger
@Message(id=1,
value="Fail to export schema, cause: {0}",
format=MESSAGE_FORMAT)
@LogMessage(level=ERROR)
void error_schemaExportFailure(List reasons)
@Message(id=2,
value="Cannot persist record: {0}",
format=MESSAGE_FORMAT)
@LogMessage(level=ERROR)
void error_cannotPersistRecord(ApplicationRecoveryPod record,
@Cause
Throwable cause)
@Message(id=3,
value="Cannot remove record: {0}",
format=MESSAGE_FORMAT)
@LogMessage(level=ERROR)
void error_cannotRemoveRecord(ApplicationRecoveryPod record,
@Cause
Throwable cause)
@Message(id=4,
value="Error on searching existence of table {0}",
format=MESSAGE_FORMAT)
@LogMessage(level=ERROR)
void error_dbTableDoesNotExist(String tableName,
@Cause
Throwable cause)
@Message(id=0,
value="txn-recovery-marker-jdbc: creating and storing transaction recovery markers in database. Available command line arguments are:",
format=MESSAGE_FORMAT)
String msg_errHelpMessage()
@Message(id=0,
value="Database type the script will be working with",
format=MESSAGE_FORMAT)
String msg_typeDb()
@Message(id=0,
value="Hibernate dialect to be used",
format=MESSAGE_FORMAT)
String msg_hibernateDialect()
@Message(id=0,
value="Fully classified JDBC Driver class",
format=MESSAGE_FORMAT)
String msg_jdbcDriverClass()
@Message(id=0,
value="JDBC url which has precedence over configured host/port/database information",
format=MESSAGE_FORMAT)
String msg_url()
@Message(id=0,
value="Hostname where the database runs",
format=MESSAGE_FORMAT)
String msg_host()
@Message(id=0,
value="Port where the database runs",
format=MESSAGE_FORMAT)
String msg_port()
@Message(id=0,
value="Database name to connect to at the host and port",
format=MESSAGE_FORMAT)
String msg_database()
@Message(id=0,
value="Username at the database to connect to",
format=MESSAGE_FORMAT)
String msg_user()
@Message(id=0,
value="Password for the username at the database to connect to",
format=MESSAGE_FORMAT)
String msg_password()
@Message(id=0,
value="Table name to be working with",
format=MESSAGE_FORMAT)
String msg_tableName()
@Message(id=0,
value="Command to run in database available options are to create db schema to insert a record to delete the record and list recovery pod names",
format=MESSAGE_FORMAT)
String msg_command()
@Message(id=0,
value="Application pod name which will be either inserted/deleted onto database or by which query will be filtered",
format=MESSAGE_FORMAT)
String msg_applicationPodName()
@Message(id=0,
value="Recovery pod name which will be either inserted/deleted onto database or by which query will be filtered",
format=MESSAGE_FORMAT)
String msg_recoveryPodName()
@Message(id=0,
value="Output format",
format=MESSAGE_FORMAT)
String msg_format()
@Message(id=0,
value="Enable verbose logging",
format=MESSAGE_FORMAT)
String msg_verbose()
@Message(id=0,
value="Printing this help",
format=MESSAGE_FORMAT)
String msg_help()
Copyright © 2018. All rights reserved.