org.eclipse.emf.common.util
Class BasicDiagnostic.StatusWrapper

java.lang.Object
  extended by 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


Field Summary
protected  Diagnostic diagnostic
           
protected static org.eclipse.core.runtime.IStatus[] EMPTY_CHILDREN
           
protected  java.lang.Throwable throwable
           
protected  org.eclipse.core.runtime.IStatus[] wrappedChildren
           
 
Fields inherited from interface org.eclipse.core.runtime.IStatus
CANCEL, ERROR, INFO, OK, WARNING
 
Constructor Summary
BasicDiagnostic.StatusWrapper(Diagnostic diagnostic)
           
BasicDiagnostic.StatusWrapper(DiagnosticException diagnosticException)
           
 
Method Summary
static org.eclipse.core.runtime.IStatus convert(Diagnostic diagnostic)
           
static org.eclipse.core.runtime.IStatus create(DiagnosticException diagnosticException)
           
 org.eclipse.core.runtime.IStatus[] getChildren()
           
 int getCode()
           
 java.lang.Throwable getException()
           
 java.lang.String getMessage()
           
 java.lang.String getPlugin()
           
 int getSeverity()
           
 boolean isMultiStatus()
           
 boolean isOK()
           
 boolean matches(int severityMask)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

BasicDiagnostic.StatusWrapper

public BasicDiagnostic.StatusWrapper(Diagnostic diagnostic)

BasicDiagnostic.StatusWrapper

public BasicDiagnostic.StatusWrapper(DiagnosticException diagnosticException)
Method Detail

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.