org.apache.maven.scm.provider.git.command.diff
Class GitDiffConsumer

java.lang.Object
  extended by org.apache.maven.scm.provider.git.command.diff.GitDiffConsumer
All Implemented Interfaces:
org.codehaus.plexus.util.cli.StreamConsumer

public class GitDiffConsumer
extends Object
implements org.codehaus.plexus.util.cli.StreamConsumer

Version:
$Id: GitDiffConsumer.java 691832 2008-09-03 23:54:44Z vsiveton $
Author:
Brett Porter, Mark Struberg

Constructor Summary
GitDiffConsumer(ScmLogger logger, File workingDirectory)
           
 
Method Summary
 void consumeLine(String line)
          
 List getChangedFiles()
           
 Map getDifferences()
           
 String getPatch()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GitDiffConsumer

public GitDiffConsumer(ScmLogger logger,
                       File workingDirectory)
Method Detail

consumeLine

public void consumeLine(String line)

Specified by:
consumeLine in interface org.codehaus.plexus.util.cli.StreamConsumer

getChangedFiles

public List getChangedFiles()

getDifferences

public Map getDifferences()

getPatch

public String getPatch()


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