de.intarsys.tools.reporter
Class ReportMessage

java.lang.Object
  extended by de.intarsys.tools.reporter.ReportMessage

public class ReportMessage
extends java.lang.Object


Field Summary
static int TYPE_ACTIVITY_END
           
static int TYPE_ACTIVITY_START
           
static int TYPE_ERROR
           
static int TYPE_MESSAGE
           
static int TYPE_PROGRESS
           
static int TYPE_STATUS
           
 
Constructor Summary
ReportMessage(int type, java.lang.String title, java.lang.String message, int style, int percent, java.lang.Throwable throwable)
           
 
Method Summary
 java.lang.String getMessage()
           
 int getPercent()
           
 int getStyle()
           
 java.lang.Throwable getThrowable()
           
 java.lang.String getTitle()
           
 int getType()
           
 boolean isActivityEnd()
           
 boolean isActivityStart()
           
 boolean isError()
           
 boolean isMessage()
           
 boolean isProgress()
           
 boolean isStatus()
           
 void setMessage(java.lang.String message)
           
 void setPercent(int percent)
           
 void setStyle(int style)
           
 void setThrowable(java.lang.Throwable throwable)
           
 void setTitle(java.lang.String title)
           
 void setType(int type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE_PROGRESS

public static final int TYPE_PROGRESS
See Also:
Constant Field Values

TYPE_ACTIVITY_START

public static final int TYPE_ACTIVITY_START
See Also:
Constant Field Values

TYPE_ACTIVITY_END

public static final int TYPE_ACTIVITY_END
See Also:
Constant Field Values

TYPE_STATUS

public static final int TYPE_STATUS
See Also:
Constant Field Values

TYPE_MESSAGE

public static final int TYPE_MESSAGE
See Also:
Constant Field Values

TYPE_ERROR

public static final int TYPE_ERROR
See Also:
Constant Field Values
Constructor Detail

ReportMessage

public ReportMessage(int type,
                     java.lang.String title,
                     java.lang.String message,
                     int style,
                     int percent,
                     java.lang.Throwable throwable)
Method Detail

getMessage

public java.lang.String getMessage()

getPercent

public int getPercent()

getStyle

public int getStyle()

getThrowable

public java.lang.Throwable getThrowable()

getTitle

public java.lang.String getTitle()

getType

public int getType()

isActivityEnd

public boolean isActivityEnd()

isActivityStart

public boolean isActivityStart()

isError

public boolean isError()

isMessage

public boolean isMessage()

isProgress

public boolean isProgress()

isStatus

public boolean isStatus()

setMessage

public void setMessage(java.lang.String message)

setPercent

public void setPercent(int percent)

setStyle

public void setStyle(int style)

setThrowable

public void setThrowable(java.lang.Throwable throwable)

setTitle

public void setTitle(java.lang.String title)

setType

public void setType(int type)