Package overit.geocallapp.logger
Class LogMessageHelper
java.lang.Object
overit.geocallapp.logger.LogMessageHelper
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCodedMessage(Code code) Returns the coded translated message.getCodedMessage(Code code, Object[] params) Returns the coded translated message with the given parameters.static LogMessageHelperstatic LogMessageHelpergetInstance(Teacher teacher) voidsetTeacher(Teacher teacher) Sets the teacher duty.
-
Field Details
-
logMessage
-
teacherDuty
-
-
Constructor Details
-
LogMessageHelper
public LogMessageHelper()
-
-
Method Details
-
getInstance
-
getInstance
-
setTeacher
Sets the teacher duty.- Parameters:
teacher- the teacher
-
getCodedMessage
Returns the coded translated message.- Parameters:
code- the code- Returns:
- the coded message
-
getCodedMessage
Returns the coded translated message with the given parameters.- Parameters:
code- the codeparams- the message parameters- Returns:
- the coded message
-