Package hudson.plugins.gradle
Class AbstractGradleLogProcessor
- java.lang.Object
-
- java.io.OutputStream
-
- hudson.console.LineTransformationOutputStream
-
- hudson.plugins.gradle.AbstractGradleLogProcessor
-
- All Implemented Interfaces:
java.io.Closeable
,java.io.Flushable
,java.lang.AutoCloseable
- Direct Known Subclasses:
DevelocityExceptionLogProcessor
,GradleConsoleAnnotator
public abstract class AbstractGradleLogProcessor extends hudson.console.LineTransformationOutputStream
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractGradleLogProcessor(int maxLineLength, java.io.OutputStream out, java.nio.charset.Charset charset)
protected
AbstractGradleLogProcessor(java.io.OutputStream out, java.nio.charset.Charset charset)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
close()
protected void
eol(byte[] bytes, int length)
void
flush()
protected abstract void
processLogLine(java.lang.String line)
-
-
-
Method Detail
-
eol
protected final void eol(byte[] bytes, int length) throws java.io.IOException
- Specified by:
eol
in classhudson.console.LineTransformationOutputStream
- Throws:
java.io.IOException
-
processLogLine
protected abstract void processLogLine(java.lang.String line) throws java.io.IOException
- Throws:
java.io.IOException
-
flush
public final void flush() throws java.io.IOException
- Specified by:
flush
in interfacejava.io.Flushable
- Overrides:
flush
in classjava.io.OutputStream
- Throws:
java.io.IOException
-
close
public final void close() throws java.io.IOException
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
- Overrides:
close
in classhudson.console.LineTransformationOutputStream
- Throws:
java.io.IOException
-
-