Class GitDiffConsumer
- java.lang.Object
-
- 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
- Author:
- Brett Porter, Mark Struberg, Olivier Lamy
-
-
Constructor Summary
Constructors Constructor Description GitDiffConsumer(ScmLogger logger, File workingDirectory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
consumeLine(String line)
List<ScmFile>
getChangedFiles()
Map<String,CharSequence>
getDifferences()
String
getPatch()
-
-
-
Method Detail
-
consumeLine
public void consumeLine(String line)
- Specified by:
consumeLine
in interfaceorg.codehaus.plexus.util.cli.StreamConsumer
-
getDifferences
public Map<String,CharSequence> getDifferences()
-
getPatch
public String getPatch()
-
-