JobLogRedactor class final
Line-buffered redaction over streamed job-log chunks.
Constructors
- JobLogRedactor(String transform(String text))
-
Creates a redactor applying
transformto every complete line run. The transform must be idempotent on already-masked text (the redaction pipeline is; a plain replaceAll is).
Properties
Methods
-
flush(
) → String - Emits the buffered partial line at job settle (sanitized like every complete line). Empty when the stream ended on a newline.
-
ingest(
String chunk) → String -
Sanitizes
chunk: complete lines through transform immediately, the trailing partial line held back until its newline arrives (or flush runs at settle) — unless it outgrows_maxCarryBytes, when it force-flushes sanitized with an overflow marker. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited