public abstract class AbstractMessage
extends java.lang.Object
Constructor and Description |
---|
AbstractMessage() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAdditionalInfo() |
java.util.List<Attachment> |
getAllAttachments()
Returns a (possibly empty) list of all attachments.
|
protected java.lang.String |
getAppInfo() |
java.lang.Integer |
getAssigneeId() |
java.util.List<Attachment> |
getAttachments()
Deprecated.
use
getIncludedAttachments() instead |
java.util.Date |
getDate() |
java.util.List<Attachment> |
getIncludedAttachments()
Returns a list of attachments marked by a user to be included into the error report.
|
abstract java.lang.String |
getMessage()
Returns a user message (see
LogMessage.createEvent(java.lang.Throwable, java.lang.String, com.intellij.openapi.diagnostic.Attachment...) ), if present. |
SubmittedReportInfo |
getSubmissionInfo() |
abstract java.lang.Throwable |
getThrowable() |
abstract java.lang.String |
getThrowableText() |
boolean |
isRead() |
boolean |
isSubmitted() |
boolean |
isSubmitting() |
void |
setAdditionalInfo(java.lang.String additionalInfo) |
protected void |
setAppInfo(java.lang.String appInfo) |
void |
setAssigneeId(java.lang.Integer assigneeId) |
void |
setOnReadCallback(java.lang.Runnable callback) |
void |
setRead(boolean isRead) |
void |
setSubmitted(SubmittedReportInfo info) |
void |
setSubmitting(boolean isSubmitting) |
public abstract java.lang.Throwable getThrowable()
public abstract java.lang.String getThrowableText()
public abstract java.lang.String getMessage()
LogMessage.createEvent(java.lang.Throwable, java.lang.String, com.intellij.openapi.diagnostic.Attachment...)
), if present.public java.util.List<Attachment> getAllAttachments()
public java.util.List<Attachment> getIncludedAttachments()
public java.util.Date getDate()
public boolean isRead()
public void setRead(boolean isRead)
public void setOnReadCallback(java.lang.Runnable callback)
public boolean isSubmitting()
public void setSubmitting(boolean isSubmitting)
public SubmittedReportInfo getSubmissionInfo()
public void setSubmitted(SubmittedReportInfo info)
public boolean isSubmitted()
public java.lang.String getAdditionalInfo()
public void setAdditionalInfo(java.lang.String additionalInfo)
public java.lang.Integer getAssigneeId()
public void setAssigneeId(java.lang.Integer assigneeId)
@Deprecated public java.util.List<Attachment> getAttachments()
getIncludedAttachments()
insteadprotected java.lang.String getAppInfo()
protected void setAppInfo(java.lang.String appInfo)