Class StatusTool
- java.lang.Object
-
- org.eclipse.tycho.repository.util.StatusTool
-
public class StatusTool extends Object
-
-
Constructor Summary
Constructors Constructor Description StatusTool()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
collectProblems(org.eclipse.core.runtime.IStatus status)
Composes a single line message out of the messages of the status and its recursive children.static Throwable
findException(org.eclipse.core.runtime.IStatus status)
static String
toLogMessage(org.eclipse.core.runtime.IStatus status)
Converts to given status to a log message.
-
-
-
Method Detail
-
collectProblems
public static String collectProblems(org.eclipse.core.runtime.IStatus status)
Composes a single line message out of the messages of the status and its recursive children. Children with status severityIStatus.OK
don't add to the constructed message.
-
toLogMessage
public static String toLogMessage(org.eclipse.core.runtime.IStatus status)
Converts to given status to a log message. If the status is a multi-status, each child will be written on a separate line, showing the hierarchy will through indentation.
-
findException
public static Throwable findException(org.eclipse.core.runtime.IStatus status)
-
-