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

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

public class LogMemorisingInterceptor
extends java.lang.Object
implements LogInterceptor

See Also:
Serialized Form

Constructor Summary
LogMemorisingInterceptor(int linesToRemember)
           
 
Method Summary
 java.lang.Iterable<LogEntry> getLogEntries()
           
 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

LogMemorisingInterceptor

public LogMemorisingInterceptor(int linesToRemember)
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

getLogEntries

@NotNull
public java.lang.Iterable<LogEntry> getLogEntries()


Copyright © 2012 Atlassian. All Rights Reserved.