public static class Progress.Message extends Object implements Serializable
Constructor and Description |
---|
Message(Element element)
Creates message out of XML element
|
Modifier and Type | Method and Description |
---|---|
Date |
getDate()
Time stamp
|
int |
getLevel()
Debug level
|
String |
getMessage()
Message
|
String[] |
getTrace()
Tracelog
|
void |
save(Element element)
Saves message into an XML element
|
String |
toHtmlString()
HTML representation of the message
|
String |
toHtmlString(boolean includeDate)
HTML representation of the message
|
String |
toHtmlString(int level)
HTML representation of the message (null if the message level is
below the given level)
|
String |
toHtmlString(int level,
boolean includeDate)
HTML representation of the message
|
String |
toString()
String representation of the message
|
String |
toString(int level)
String representation of the message (null if the message level is
below the given level)
|
public String getMessage()
public int getLevel()
public String toString(int level)
level
- minimum levelpublic String toHtmlString(int level, boolean includeDate)
level
- level minimum levelincludeDate
- true if message date and time is to be included in the logpublic String toHtmlString(int level)
level
- level minimum levelpublic String toHtmlString(boolean includeDate)
includeDate
- true if message date and time is to be included in the logpublic String toHtmlString()