BEAST
eu.baltrad.beast.log.AlertMessageReporter Class Reference
Inheritance diagram for eu.baltrad.beast.log.AlertMessageReporter:
eu.baltrad.beast.log.ISystemReporter

Public Member Functions

 AlertMessageReporter ()
 Default constructor.
 
void setMessageManager (IBltMessageManager manager)
 
void setMessageRepository (ILogMessageRepository repository)
 
void info (String code, String message, Object... args)
 
void warn (String code, String message, Object... args)
 
void error (String code, String message, Object... args)
 
void fatal (String code, String message, Object... args)
 

Protected Member Functions

BltAlertMessage createAlert (String severity, String code, String message, Object... args)
 Creates a blt alert message.
 
String getMessage (String code, String message, Object... args)
 Returns the localized message if any could be found.
 

Detailed Description

Author
Anders Henja

Constructor & Destructor Documentation

◆ AlertMessageReporter()

eu.baltrad.beast.log.AlertMessageReporter.AlertMessageReporter ( )
inline

Default constructor.

Member Function Documentation

◆ createAlert()

BltAlertMessage eu.baltrad.beast.log.AlertMessageReporter.createAlert ( String severity,
String code,
String message,
Object... args )
inlineprotected

Creates a blt alert message.

Parameters
modulethe module
severitythe severity
codethe error code
messagethe error message
Returns
the alert

◆ error()

void eu.baltrad.beast.log.AlertMessageReporter.error ( String code,
String message,
Object... args )
inline
See also
eu.baltrad.beast.log.ISystemReporter.error(java.lang.String, java.lang.String, java.lang.Object[])

Implements eu.baltrad.beast.log.ISystemReporter.

◆ fatal()

void eu.baltrad.beast.log.AlertMessageReporter.fatal ( String code,
String message,
Object... args )
inline
See also
eu.baltrad.beast.log.ISystemReporter.fatal(java.lang.String, java.lang.String, java.lang.Object[])

Implements eu.baltrad.beast.log.ISystemReporter.

◆ getMessage()

String eu.baltrad.beast.log.AlertMessageReporter.getMessage ( String code,
String message,
Object... args )
inlineprotected

Returns the localized message if any could be found.

Parameters
module- the specific module
code- the error code
message- the error message

◆ info()

void eu.baltrad.beast.log.AlertMessageReporter.info ( String code,
String message,
Object... args )
inline
See also
eu.baltrad.beast.log.ISystemReporter.info(java.lang.String, java.lang.String, java.lang.Object[])

Implements eu.baltrad.beast.log.ISystemReporter.

◆ setMessageManager()

void eu.baltrad.beast.log.AlertMessageReporter.setMessageManager ( IBltMessageManager manager)
inline
Parameters
managerthe manager to set

◆ setMessageRepository()

void eu.baltrad.beast.log.AlertMessageReporter.setMessageRepository ( ILogMessageRepository repository)
inline
Parameters
repositorythe log message repository to set

◆ warn()

void eu.baltrad.beast.log.AlertMessageReporter.warn ( String code,
String message,
Object... args )
inline
See also
eu.baltrad.beast.log.ISystemReporter.warn(java.lang.String, java.lang.String, java.lang.Object[])

Implements eu.baltrad.beast.log.ISystemReporter.


The documentation for this class was generated from the following file: