org.eclipse.emf.common.util
Class BasicDiagnostic.StatusWrapper
java.lang.Object
org.eclipse.emf.common.util.BasicDiagnostic.StatusWrapper
- All Implemented Interfaces:
- org.eclipse.core.runtime.IStatus
- Enclosing class:
- BasicDiagnostic
private static class BasicDiagnostic.StatusWrapper
- extends java.lang.Object
- implements org.eclipse.core.runtime.IStatus
| Fields inherited from interface org.eclipse.core.runtime.IStatus |
CANCEL, ERROR, INFO, OK, WARNING |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
EMPTY_CHILDREN
protected static final org.eclipse.core.runtime.IStatus[] EMPTY_CHILDREN
throwable
protected java.lang.Throwable throwable
diagnostic
protected Diagnostic diagnostic
wrappedChildren
protected org.eclipse.core.runtime.IStatus[] wrappedChildren
BasicDiagnostic.StatusWrapper
public BasicDiagnostic.StatusWrapper(Diagnostic diagnostic)
BasicDiagnostic.StatusWrapper
public BasicDiagnostic.StatusWrapper(DiagnosticException diagnosticException)
getChildren
public org.eclipse.core.runtime.IStatus[] getChildren()
- Specified by:
getChildren in interface org.eclipse.core.runtime.IStatus
getCode
public int getCode()
- Specified by:
getCode in interface org.eclipse.core.runtime.IStatus
getException
public java.lang.Throwable getException()
- Specified by:
getException in interface org.eclipse.core.runtime.IStatus
getMessage
public java.lang.String getMessage()
- Specified by:
getMessage in interface org.eclipse.core.runtime.IStatus
getPlugin
public java.lang.String getPlugin()
- Specified by:
getPlugin in interface org.eclipse.core.runtime.IStatus
getSeverity
public int getSeverity()
- Specified by:
getSeverity in interface org.eclipse.core.runtime.IStatus
isMultiStatus
public boolean isMultiStatus()
- Specified by:
isMultiStatus in interface org.eclipse.core.runtime.IStatus
isOK
public boolean isOK()
- Specified by:
isOK in interface org.eclipse.core.runtime.IStatus
matches
public boolean matches(int severityMask)
- Specified by:
matches in interface org.eclipse.core.runtime.IStatus
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
convert
public static org.eclipse.core.runtime.IStatus convert(Diagnostic diagnostic)
create
public static org.eclipse.core.runtime.IStatus create(DiagnosticException diagnosticException)
Copyright © 2001-2010 Eclipse Foundation. All Rights Reserved.