Interface LogListener
-
- All Known Implementing Classes:
LogPrinter
,LogSplitter
,LogWatcher
,NullPrinter
public interface LogListener
Receives line-by-line logs fromLogListenable
.- Author:
- Kohsuke Kawaguchi
- See Also:
LogListenable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
processClose(Exception t)
Indicates the EOF.void
processLine(String line)
Receives log output from Jenkins process one line at a time, in the order.
-
-
-
Method Detail
-
processLine
@Asynchronous void processLine(String line) throws IOException
Receives log output from Jenkins process one line at a time, in the order.- Throws:
IOException
-
processClose
@Asynchronous void processClose(Exception t)
Indicates the EOF.- Parameters:
t
- if the termination of log source is unexpected, indicate the cause of the problem.
-
-