public class StatusInfo extends 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,
String message) |
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.core.runtime.IStatus[] |
getChildren() |
int |
getCode() |
Throwable |
getException() |
String |
getMessage() |
String |
getPlugin() |
int |
getSeverity() |
boolean |
isError() |
boolean |
isInfo() |
boolean |
isMultiStatus() |
boolean |
isOK() |
boolean |
isWarning() |
boolean |
matches(int severityMask) |
void |
setError(String errorMessage) |
void |
setInfo(String infoMessage) |
void |
setOK() |
void |
setWarning(String warningMessage) |
String |
toString() |
public StatusInfo()
public StatusInfo(int severity,
String message)
public boolean isOK()
isOK in interface org.eclipse.core.runtime.IStatuspublic boolean isWarning()
public boolean isInfo()
public boolean isError()
public String getMessage()
getMessage in interface org.eclipse.core.runtime.IStatuspublic void setError(String errorMessage)
public void setWarning(String warningMessage)
public void setInfo(String infoMessage)
public void setOK()
public boolean matches(int severityMask)
matches in interface org.eclipse.core.runtime.IStatuspublic boolean isMultiStatus()
isMultiStatus in interface org.eclipse.core.runtime.IStatuspublic int getSeverity()
getSeverity in interface org.eclipse.core.runtime.IStatuspublic String getPlugin()
getPlugin in interface org.eclipse.core.runtime.IStatuspublic Throwable getException()
getException in interface org.eclipse.core.runtime.IStatuspublic int getCode()
getCode in interface org.eclipse.core.runtime.IStatuspublic org.eclipse.core.runtime.IStatus[] getChildren()
getChildren in interface org.eclipse.core.runtime.IStatusCopyright © 2016. All Rights Reserved.