org.apache.maven.scm.provider.integrity.command.blame
Class IntegrityBlameConsumer

java.lang.Object
  extended by org.apache.maven.scm.provider.integrity.command.blame.IntegrityBlameConsumer
All Implemented Interfaces:
StreamConsumer

public class IntegrityBlameConsumer
extends Object
implements StreamConsumer

Helper class to consume the standard output from running the IntegrityBlameCommand

Since:
1.6
Version:
$Id: IntegrityBlameConsumer.java 1.2 2011/08/22 13:06:16EDT Cletus D'Souza (dsouza) Exp $
Author:
Cletus D'Souza

Constructor Summary
IntegrityBlameConsumer(ScmLogger logger)
          IntegrityBlameConsumer constructor requires a ScmLogger to log all the activity
 
Method Summary
 void consumeLine(String line)
          
 List<BlameLine> getBlameList()
          Returns a list of BlameLine objects found from parsing the 'si annotate' output
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntegrityBlameConsumer

public IntegrityBlameConsumer(ScmLogger logger)
IntegrityBlameConsumer constructor requires a ScmLogger to log all the activity

Parameters:
logger - ScmLogger object
Method Detail

consumeLine

public void consumeLine(String line)

Specified by:
consumeLine in interface StreamConsumer

getBlameList

public List<BlameLine> getBlameList()
Returns a list of BlameLine objects found from parsing the 'si annotate' output

Returns:


Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.