Class ErrorMemorisingInterceptor

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

public class ErrorMemorisingInterceptor extends Object implements LogInterceptor
Interceptor that remembers all the errors being reported in the build log.
See Also:
  • Constructor Details

    • ErrorMemorisingInterceptor

      public ErrorMemorisingInterceptor()
      Creates an interceptor that stores all data it receives. The amount of lines is bounded with SystemProperty.LOG_LINES_FOR_NOTIFICATIONS most recent lines. If you want to store large amounts of data in this interceptor (and you're aware that it may cause out of memory errors on your instance and agents, use the bounded variant of the constructor.
    • ErrorMemorisingInterceptor

      public ErrorMemorisingInterceptor(int limit)
      Creates interceptor that stores the most recent "limit" lines it receives.
  • Method Details