Class LogMessage
java.lang.Object
com.elpical.jclaro.admin.ws.server.LogMessage
Class holds information about a single log message
-
Constructor Summary
ConstructorsConstructorDescriptionEmpty constructorLogMessage(String str)
Constructs a new log message with the supplied message. -
Method Summary
Modifier and TypeMethodDescriptiongetDate()
Returns the date the log message occurredReturns the log messagevoid
sets the date the log message occurredvoid
setMessage(String message)
Sets the log message
-
Constructor Details
-
LogMessage
public LogMessage()Empty constructor -
LogMessage
Constructs a new log message with the supplied message. The date the log item occured is extracted from the supplied string
-
-
Method Details
-
getMessage
Returns the log message- Returns:
- The log message
-
setMessage
Sets the log message- Parameters:
message
- The log message
-
getDate
Returns the date the log message occurred- Returns:
- The date the log message occurred
-
setDate
sets the date the log message occurred- Parameters:
date
- The date the log message occurred
-