net.sf.cpsolver.ifs.util
Class Progress.Message

java.lang.Object
  extended by net.sf.cpsolver.ifs.util.Progress.Message
All Implemented Interfaces:
Serializable
Enclosing class:
Progress

public static class Progress.Message
extends Object
implements Serializable

Log nessage

See Also:
Serialized Form

Constructor Summary
Progress.Message(org.dom4j.Element element)
          Creates message out of XML element
 
Method Summary
 Date getDate()
          Time stamp
 int getLevel()
          Debug level
 String getMessage()
          Message
 void save(org.dom4j.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)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Progress.Message

public Progress.Message(org.dom4j.Element element)
Creates message out of XML element

Method Detail

getMessage

public String getMessage()
Message


getLevel

public int getLevel()
Debug level


getDate

public Date getDate()
Time stamp


toString

public String toString(int level)
String representation of the message (null if the message level is below the given level)


toString

public String toString()
String representation of the message

Overrides:
toString in class Object

toHtmlString

public String toHtmlString(int level,
                           boolean includeDate)
HTML representation of the message


toHtmlString

public String toHtmlString(int level)
HTML representation of the message (null if the message level is below the given level)


toHtmlString

public String toHtmlString(boolean includeDate)
HTML representation of the message


toHtmlString

public String toHtmlString()
HTML representation of the message


save

public void save(org.dom4j.Element element)
Saves message into an XML element