Package hudson.plugins.gradle
Class AbstractGradleLogProcessor
java.lang.Object
java.io.OutputStream
hudson.console.LineTransformationOutputStream
hudson.plugins.gradle.AbstractGradleLogProcessor
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
- Direct Known Subclasses:
DevelocityExceptionLogProcessor,GradleConsoleAnnotator
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.console.LineTransformationOutputStream
LineTransformationOutputStream.Delegating -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractGradleLogProcessor(int maxLineLength, OutputStream out, Charset charset) protectedAbstractGradleLogProcessor(OutputStream out, Charset charset) -
Method Summary
Modifier and TypeMethodDescriptionfinal voidclose()protected final voideol(byte[] bytes, int length) final voidflush()protected abstract voidprocessLogLine(String line) Methods inherited from class hudson.console.LineTransformationOutputStream
forceEol, trimEOL, write, writeMethods inherited from class java.io.OutputStream
nullOutputStream, write
-
Field Details
-
out
-
charset
-
-
Constructor Details
-
AbstractGradleLogProcessor
-
AbstractGradleLogProcessor
-
-
Method Details
-
eol
- Specified by:
eolin classLineTransformationOutputStream- Throws:
IOException
-
processLogLine
- Throws:
IOException
-
flush
- Specified by:
flushin interfaceFlushable- Overrides:
flushin classOutputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classLineTransformationOutputStream- Throws:
IOException
-