Class BuildLogLabellerInterceptor

java.lang.Object
com.atlassian.bamboo.plugins.labeller.BuildLogLabellerInterceptor
All Implemented Interfaces:
LogInterceptor, Serializable

public class BuildLogLabellerInterceptor extends Object implements LogInterceptor
See Also:
  • Constructor Details

    • BuildLogLabellerInterceptor

      public BuildLogLabellerInterceptor(String pattern, Collection<String> labels)
  • Method Details

    • intercept

      public void intercept(@NotNull @NotNull LogEntry logEntry)
      Description copied from interface: LogInterceptor
      Method invoked whenever a new log entry is logged
      Specified by:
      intercept in interface LogInterceptor
      Parameters:
      logEntry -
    • interceptError

      public void interceptError(@NotNull @NotNull LogEntry logEntry)
      Description copied from interface: LogInterceptor
      Method invoked whenever a new error log entry is logged
      Specified by:
      interceptError in interface LogInterceptor
      Parameters:
      logEntry -
    • getLabels

      public Set<String> getLabels()