public class StatusInfo
extends java.lang.Object
implements org.eclipse.core.runtime.IStatus
Modifier and Type | Field and Description |
---|---|
static org.eclipse.core.runtime.IStatus |
OK_STATUS |
Constructor and Description |
---|
StatusInfo() |
StatusInfo(int severity,
java.lang.String message) |
Modifier and Type | Method and Description |
---|---|
org.eclipse.core.runtime.IStatus[] |
getChildren() |
int |
getCode() |
java.lang.Throwable |
getException() |
java.lang.String |
getMessage() |
java.lang.String |
getPlugin() |
int |
getSeverity() |
boolean |
isError() |
boolean |
isInfo() |
boolean |
isMultiStatus() |
boolean |
isOK() |
boolean |
isWarning() |
boolean |
matches(int severityMask) |
void |
setError(java.lang.String errorMessage) |
void |
setInfo(java.lang.String infoMessage) |
void |
setOK() |
void |
setWarning(java.lang.String warningMessage) |
java.lang.String |
toString() |
public StatusInfo()
public StatusInfo(int severity, java.lang.String message)
public boolean isOK()
isOK
in interface org.eclipse.core.runtime.IStatus
public boolean isWarning()
public boolean isInfo()
public boolean isError()
public java.lang.String getMessage()
getMessage
in interface org.eclipse.core.runtime.IStatus
public void setError(java.lang.String errorMessage)
public void setWarning(java.lang.String warningMessage)
public void setInfo(java.lang.String infoMessage)
public void setOK()
public boolean matches(int severityMask)
matches
in interface org.eclipse.core.runtime.IStatus
public boolean isMultiStatus()
isMultiStatus
in interface org.eclipse.core.runtime.IStatus
public int getSeverity()
getSeverity
in interface org.eclipse.core.runtime.IStatus
public java.lang.String getPlugin()
getPlugin
in interface org.eclipse.core.runtime.IStatus
public java.lang.Throwable getException()
getException
in interface org.eclipse.core.runtime.IStatus
public int getCode()
getCode
in interface org.eclipse.core.runtime.IStatus
public org.eclipse.core.runtime.IStatus[] getChildren()
getChildren
in interface org.eclipse.core.runtime.IStatus
public java.lang.String toString()
toString
in class java.lang.Object