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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BuildLogLabellerInterceptor(String pattern, Collection<String> labels)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<String>
getLabels()
void
intercept(@NotNull LogEntry logEntry)
Method invoked whenever a new log entry is loggedvoid
interceptError(@NotNull LogEntry logEntry)
Method invoked whenever a new error log entry is logged
-
-
-
Constructor Detail
-
BuildLogLabellerInterceptor
public BuildLogLabellerInterceptor(String pattern, Collection<String> labels)
-
-
Method Detail
-
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 interfaceLogInterceptor
-
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 interfaceLogInterceptor
-
-