org.apache.maven.scm.provider.bazaar.command
Class BazaarConsumer
public
class
BazaarConsumer
extends AbstractConsumer
Base consumer to do common parsing for all bazaar commands.
More specific: log line each line if debug is enabled, get file status
and detect warnings from bazaar
Author: Torbjxrn Eikli Smxrgrav
Method Summary |
void | consumeLine(String line) |
void | doConsume(ScmFileStatus status, String trimmedLine) |
String | getStdErr()
Warnings and errors is usually printed out in Std.Err, thus for derived consumers
operating on Std.Out this would typically return an empty string.
|
public BazaarConsumer(ScmLogger logger)
public void consumeLine(String line)
public void doConsume(ScmFileStatus status, String trimmedLine)
public String getStdErr()
Warnings and errors is usually printed out in Std.Err, thus for derived consumers
operating on Std.Out this would typically return an empty string.
Returns: Return the last lines interpreted as an warning or an error
Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.