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
ConstructorsModifierConstructorDescriptionprotected
AbstractGradleLogProcessor
(int maxLineLength, OutputStream out, Charset charset) protected
AbstractGradleLogProcessor
(OutputStream out, Charset charset) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
close()
protected final void
eol
(byte[] bytes, int length) final void
flush()
protected abstract void
processLogLine
(String line) Methods inherited from class hudson.console.LineTransformationOutputStream
forceEol, trimEOL, write, write
Methods inherited from class java.io.OutputStream
nullOutputStream, write
-
Field Details
-
out
-
charset
-
-
Constructor Details
-
AbstractGradleLogProcessor
-
AbstractGradleLogProcessor
-
-
Method Details
-
eol
- Specified by:
eol
in classLineTransformationOutputStream
- Throws:
IOException
-
processLogLine
- Throws:
IOException
-
flush
- Specified by:
flush
in interfaceFlushable
- Overrides:
flush
in classOutputStream
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classLineTransformationOutputStream
- Throws:
IOException
-