public class SerializableMultiStatus extends SerializableStatus
CANCEL_STATUS, OK_STATUS| Constructor and Description |
|---|
SerializableMultiStatus(org.eclipse.core.runtime.IStatus status) |
SerializableMultiStatus(org.eclipse.core.runtime.MultiStatus multiStatus) |
SerializableMultiStatus(String pluginId,
int code,
org.eclipse.core.runtime.IStatus[] newChildren,
String message,
Throwable exception) |
SerializableMultiStatus(String pluginId,
int code,
String message,
Throwable exception) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(SerializableStatus status)
Adds the given status to this multi-status.
|
void |
addAll(SerializableStatus status)
Adds all of the children of the given status to this multi-status.
|
org.eclipse.core.runtime.IStatus[] |
getChildren() |
boolean |
isMultiStatus() |
void |
merge(SerializableStatus status)
Merges the given status into this multi-status.
|
String |
toString()
Returns a string representation of the status, suitable for debugging
purposes only.
|
getCode, getException, getMessage, getPlugin, getSeverity, isOK, matches, setCode, setException, setMessage, setPlugin, setSeveritypublic SerializableMultiStatus(org.eclipse.core.runtime.IStatus status)
public SerializableMultiStatus(org.eclipse.core.runtime.MultiStatus multiStatus)
public SerializableMultiStatus(String pluginId, int code, org.eclipse.core.runtime.IStatus[] newChildren, String message, Throwable exception)
public void add(SerializableStatus status)
status - the new child statuspublic void addAll(SerializableStatus status)
status - the status whose children are to be added to this onepublic org.eclipse.core.runtime.IStatus[] getChildren()
getChildren in interface org.eclipse.core.runtime.IStatusgetChildren in class SerializableStatuspublic boolean isMultiStatus()
isMultiStatus in interface org.eclipse.core.runtime.IStatusisMultiStatus in class SerializableStatuspublic void merge(SerializableStatus status)
add(status) if the given status is not a multi-status.
Equivalent to addAll(status) if the given status is a
multi-status.status - the status to merge into this oneadd(SerializableStatus),
addAll(SerializableStatus)public String toString()
toString in class SerializableStatusCopyright © 2004–2020 Eclipse Foundation. All rights reserved.