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 LogListeners.- Author:
- Kohsuke Kawaguchi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidclear()voidIndicates the EOF.voidprocessLine(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:
addLogListenerin interfaceLogListenable
-
removeLogListener
- Specified by:
removeLogListenerin interfaceLogListenable
-
getListeners
-
processLine
Description copied from interface:LogListenerReceives log output from Jenkins process one line at a time, in the order.- Specified by:
processLinein interfaceLogListener- Throws:
IOException
-
processClose
Description copied from interface:LogListenerIndicates the EOF.- Specified by:
processClosein interfaceLogListener- Parameters:
t- if the termination of log source is unexpected, indicate the cause of the problem.
-
clear
public void clear()
-