Class 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 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<ScmFile> getChangedFiles()
      • getPatch

        public String getPatch()