net.sourceforge.cruisecontrol.util
Interface StreamConsumer

All Known Implementing Classes:
BuildOutputBuffer, CompositeConsumer, DiscardConsumer, ExecScript, Maven2Script, MavenScript, P4.ServerInfoConsumer, RakeScript, StreamLogger

public interface StreamConsumer

Works in concert with the StreamPumper class to allow implementations to gain access to the lines being "Pumped".

Author:
Florin Vancea, Paul Julius

Method Summary
 void consumeLine(java.lang.String line)
          Called when the StreamPumper pumps a line from the Stream.
 

Method Detail

consumeLine

public void consumeLine(java.lang.String line)
Called when the StreamPumper pumps a line from the Stream.