public class ReportMessage
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
ReportMessage(int type,
java.lang.String title,
java.lang.String message,
int style,
int percent,
java.lang.Throwable throwable) |
Modifier and Type | Method and Description |
---|---|
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) |
public static final int TYPE_PROGRESS
public static final int TYPE_ACTIVITY_START
public static final int TYPE_ACTIVITY_END
public static final int TYPE_STATUS
public static final int TYPE_MESSAGE
public static final int TYPE_ERROR
public ReportMessage(int type, java.lang.String title, java.lang.String message, int style, int percent, java.lang.Throwable throwable)
public java.lang.String getMessage()
public int getPercent()
public int getStyle()
public java.lang.Throwable getThrowable()
public java.lang.String getTitle()
public int getType()
public boolean isActivityEnd()
public boolean isActivityStart()
public boolean isError()
public boolean isMessage()
public boolean isProgress()
public boolean isStatus()
public void setMessage(java.lang.String message)
public void setPercent(int percent)
public void setStyle(int style)
public void setThrowable(java.lang.Throwable throwable)
public void setTitle(java.lang.String title)
public void setType(int type)