EGF Engine
Release 0.1.0

org.eclipse.egf.common.helper
Class StatusHelper

java.lang.Object
  extended by org.eclipse.egf.common.helper.StatusHelper

public class StatusHelper
extends Object


Constructor Summary
StatusHelper()
           
 
Method Summary
protected static List<IStatus> flatten(IStatus aStatus)
          Answer a flat collection of the passed status and its recursive children
static IStatus newStatus(String pluginID, int severity, String message, Throwable exception)
          Utility method for creating status.
protected static IStatus newStatus(String pluginID, IStatus[] stati, String message, Throwable exception)
          Utility method for creating status.
static IStatus newStatus(String pluginID, List<IStatus> children, String message, Throwable exception)
          Utility method for creating status.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatusHelper

public StatusHelper()
Method Detail

newStatus

protected static IStatus newStatus(String pluginID,
                                   IStatus[] stati,
                                   String message,
                                   Throwable exception)
Utility method for creating status.


newStatus

public static IStatus newStatus(String pluginID,
                                int severity,
                                String message,
                                Throwable exception)
Utility method for creating status.


newStatus

public static IStatus newStatus(String pluginID,
                                List<IStatus> children,
                                String message,
                                Throwable exception)
Utility method for creating status.


flatten

protected static List<IStatus> flatten(IStatus aStatus)
Answer a flat collection of the passed status and its recursive children


EGF Engine
Release 0.1.0

Copyright (c) Thales Corporate Services S.A.S, 2009.

This page is made available under license. For full details see the LEGAL in the documentation book that contains this page.