com.atlassian.bamboo.build.logger.interceptors
Class ErrorMemorisingInterceptor

java.lang.Object
  extended by com.atlassian.bamboo.build.logger.interceptors.ErrorMemorisingInterceptor
All Implemented Interfaces:
LogInterceptor, java.io.Serializable

public class ErrorMemorisingInterceptor
extends java.lang.Object
implements LogInterceptor

Interceptor that remembers all the errors being reported in the build log.

See Also:
Serialized Form

Constructor Summary
ErrorMemorisingInterceptor()
           
 
Method Summary
 java.util.List<java.lang.String> getErrorStringList()
           
 void intercept(LogEntry logEntry)
          Method invoked whenever a new log entry is logged
 void interceptError(LogEntry logEntry)
          Method invoked whenever a new error log entry is logged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorMemorisingInterceptor

public ErrorMemorisingInterceptor()
Method Detail

intercept

public void intercept(@NotNull
                      LogEntry logEntry)
Description copied from interface: LogInterceptor
Method invoked whenever a new log entry is logged

Specified by:
intercept in interface LogInterceptor

interceptError

public void interceptError(@NotNull
                           LogEntry logEntry)
Description copied from interface: LogInterceptor
Method invoked whenever a new error log entry is logged

Specified by:
interceptError in interface LogInterceptor

getErrorStringList

public java.util.List<java.lang.String> getErrorStringList()


Copyright © 2012 Atlassian. All Rights Reserved.