public abstract class ConsoleLogFilter extends Object implements ExtensionPoint
ConsoleNote, this class provides direct access to the underlying
OutputStreamso 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.)
Implementations which are
Serializable may be sent to an agent JVM for processing.
In particular, this happens under JEP-210.
In this case, the implementation should not assume that
and if generating
ConsoleNotes will need to encode them on the master side first.
|Constructor and Description|
|Modifier and Type||Method and Description|
All the registered
as of 1.632. Use
Called to decorate logger for master/agent communication.
Called on the start of each build, giving extensions a chance to intercept the data that is written to the log.
@Deprecated public OutputStream decorateLogger(AbstractBuild build, OutputStream logger) throws IOException, InterruptedException
public OutputStream decorateLogger(Run build, OutputStream logger) throws IOException, InterruptedException
Even though this method is not marked 'abstract', this is the method that must be overridden by extensions.
public OutputStream decorateLogger(@Nonnull Computer computer, OutputStream logger) throws IOException, InterruptedException
Copyright © 2004–2019. All rights reserved.