BEAST
eu.baltrad.beast.log.message.LogMessage Class Reference

Public Member Functions

 LogMessage ()
 Default constructor.
 
 LogMessage (String module, String code)
 Constructor.
 
 LogMessage (String module, String code, String message)
 Constructor.
 
 LogMessage (String module, String code, String message, MessageSeverity severity)
 Constructor.
 
 LogMessage (String module, String code, String message, MessageSeverity severity, String solution)
 Constructor.
 
String getCode ()
 
void setCode (String code)
 
String getMessage ()
 
String getFormattedMessage (Object... args)
 Returns the formatted message string with the provided arguments.
 
void setMessage (String message)
 
String getSolution ()
 
void setSolution (String solution)
 
String getModule ()
 
void setModule (String module)
 
MessageSeverity getSeverity ()
 
void setSeverity (MessageSeverity severity)
 

Detailed Description

Author
Anders Henja

Constructor & Destructor Documentation

◆ LogMessage() [1/5]

eu.baltrad.beast.log.message.LogMessage.LogMessage ( )
inline

Default constructor.

◆ LogMessage() [2/5]

eu.baltrad.beast.log.message.LogMessage.LogMessage ( String module,
String code )
inline

Constructor.

Parameters
module
code

◆ LogMessage() [3/5]

eu.baltrad.beast.log.message.LogMessage.LogMessage ( String module,
String code,
String message )
inline

Constructor.

Parameters
modulethe module
codethe error code
messagethe error message

◆ LogMessage() [4/5]

eu.baltrad.beast.log.message.LogMessage.LogMessage ( String module,
String code,
String message,
MessageSeverity severity )
inline

Constructor.

Parameters
modulethe module
codethe error code
messagethe error message
severitythe severity

◆ LogMessage() [5/5]

eu.baltrad.beast.log.message.LogMessage.LogMessage ( String module,
String code,
String message,
MessageSeverity severity,
String solution )
inline

Constructor.

Parameters
modulethe module
codethe error code
messagethe error message
severitythe severity
solutionthe solution for this error

Member Function Documentation

◆ getCode()

String eu.baltrad.beast.log.message.LogMessage.getCode ( )
inline
Returns
the code

◆ getFormattedMessage()

String eu.baltrad.beast.log.message.LogMessage.getFormattedMessage ( Object... args)
inline

Returns the formatted message string with the provided arguments.

Parameters
argsthe arguments
Returns
the formatted message

◆ getMessage()

String eu.baltrad.beast.log.message.LogMessage.getMessage ( )
inline
Returns
the message

◆ getSolution()

String eu.baltrad.beast.log.message.LogMessage.getSolution ( )
inline
Returns
the solution

◆ setCode()

void eu.baltrad.beast.log.message.LogMessage.setCode ( String code)
inline
Parameters
codethe code to set

◆ setMessage()

void eu.baltrad.beast.log.message.LogMessage.setMessage ( String message)
inline
Parameters
messagethe message to set

◆ setSolution()

void eu.baltrad.beast.log.message.LogMessage.setSolution ( String solution)
inline
Parameters
solutionthe solution to set

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