public abstract class ConsoleLogFilter extends Object implements ExtensionPoint
ConsoleAnnotator and ConsoleNote, this class provides
direct access to the underlying OutputStream so it's possible to suppress
data, which isn't possible from the other interfaces.
(ArgumentListBuilder.add(String, boolean) is a simpler way to suppress a single password.)BuildWrapper.decorateLogger(hudson.model.AbstractBuild, java.io.OutputStream)ExtensionPoint.LegacyInstancesAreScopedToHudson| Constructor and Description |
|---|
ConsoleLogFilter() |
| Modifier and Type | Method and Description |
|---|---|
static ExtensionList<ConsoleLogFilter> |
all()
All the registered
ConsoleLogFilters. |
abstract OutputStream |
decorateLogger(AbstractBuild build,
OutputStream logger)
Called on the start of each build, giving extensions a chance to intercept
the data that is written to the log.
|
public abstract OutputStream decorateLogger(AbstractBuild build, OutputStream logger) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic static ExtensionList<ConsoleLogFilter> all()
ConsoleLogFilters.Copyright © 2014. All rights reserved.