org.apache.maven.usability.diagnostics
Class ErrorDiagnostics

java.lang.Object
  extended byorg.codehaus.plexus.logging.AbstractLogEnabled
      extended byorg.apache.maven.usability.diagnostics.ErrorDiagnostics
All Implemented Interfaces:
org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable, org.codehaus.plexus.logging.LogEnabled

public class ErrorDiagnostics
extends org.codehaus.plexus.logging.AbstractLogEnabled
implements org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable


Field Summary
static String ROLE
           
 
Constructor Summary
ErrorDiagnostics()
           
 
Method Summary
 void contextualize(org.codehaus.plexus.context.Context context)
           
 String diagnose(Throwable error)
           
 void setErrorDiagnosers(List errorDiagnosers)
           
 
Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ROLE

public static final String ROLE
Constructor Detail

ErrorDiagnostics

public ErrorDiagnostics()
Method Detail

setErrorDiagnosers

public void setErrorDiagnosers(List errorDiagnosers)

diagnose

public String diagnose(Throwable error)

contextualize

public void contextualize(org.codehaus.plexus.context.Context context)
                   throws org.codehaus.plexus.context.ContextException
Specified by:
contextualize in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
Throws:
org.codehaus.plexus.context.ContextException


Copyright © 2001-2009 The Apache Software Foundation. All Rights Reserved.