Class LogSplitter
java.lang.Object
org.jenkinsci.test.acceptance.log.LogSplitter
- All Implemented Interfaces:
LogListenable
,LogListener
Receives logs from
LogListener
and distributes them to other LogListener
s.- Author:
- Kohsuke Kawaguchi
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
clear()
void
Indicates the EOF.void
processLine
(String line) Receives log output from Jenkins process one line at a time, in the order.void
-
Constructor Details
-
LogSplitter
public LogSplitter()
-
-
Method Details
-
addLogListener
- Specified by:
addLogListener
in interfaceLogListenable
-
removeLogListener
- Specified by:
removeLogListener
in interfaceLogListenable
-
getListeners
-
processLine
Description copied from interface:LogListener
Receives log output from Jenkins process one line at a time, in the order.- Specified by:
processLine
in interfaceLogListener
- Throws:
IOException
-
processClose
Description copied from interface:LogListener
Indicates the EOF.- Specified by:
processClose
in interfaceLogListener
- Parameters:
t
- if the termination of log source is unexpected, indicate the cause of the problem.
-
clear
public void clear()
-