Class WarningsParsingLogInterceptor

java.lang.Object
com.atlassian.bamboo.warnings.WarningsParsingLogInterceptor
All Implemented Interfaces:
LogMutator, WhitelistedSerializable, Serializable

public class WarningsParsingLogInterceptor extends Object implements LogMutator, WhitelistedSerializable
See Also:
  • Constructor Details

    • WarningsParsingLogInterceptor

      public WarningsParsingLogInterceptor(@NotNull @NotNull File logFile) throws IOException
      Throws:
      IOException
  • Method Details

    • mutate

      public LogEntry mutate(@NotNull @NotNull LogEntry logEntry)
      Description copied from interface: LogMutator
      Method invoked whenever a new log entry is logged
      Specified by:
      mutate in interface LogMutator
    • mutateError

      public LogEntry mutateError(@NotNull @NotNull LogEntry logEntry)
      Description copied from interface: LogMutator
      Method invoked whenever a new error log entry is logged
      Specified by:
      mutateError in interface LogMutator
    • registerConsumer

      public void registerConsumer(long consumerId)
    • finishCollectingLogs

      public void finishCollectingLogs(long consumerId) throws IOException
      Throws:
      IOException
    • cleanup

      public void cleanup()
    • getLogFile

      public File getLogFile()