Class HgDiffConsumer
- java.lang.Object
-
- org.apache.maven.scm.util.AbstractConsumer
-
- org.apache.maven.scm.provider.hg.command.HgConsumer
-
- org.apache.maven.scm.provider.hg.command.diff.HgDiffConsumer
-
- All Implemented Interfaces:
org.codehaus.plexus.util.cli.StreamConsumer
public class HgDiffConsumer extends HgConsumer
- Author:
- thurner rupert, Olivier Lamy
-
-
Field Summary
-
Fields inherited from class org.apache.maven.scm.util.AbstractConsumer
logger
-
-
Constructor Summary
Constructors Constructor Description HgDiffConsumer(File workingDirectory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconsumeLine(String line)List<ScmFile>getChangedFiles()Map<String,CharSequence>getDifferences()StringgetPatch()-
Methods inherited from class org.apache.maven.scm.provider.hg.command.HgConsumer
doConsume, getStdErr
-
Methods inherited from class org.apache.maven.scm.util.AbstractConsumer
parseDate, parseDate
-
-
-
-
Constructor Detail
-
HgDiffConsumer
public HgDiffConsumer(File workingDirectory)
-
-
Method Detail
-
consumeLine
public void consumeLine(String line)
- Specified by:
consumeLinein interfaceorg.codehaus.plexus.util.cli.StreamConsumer- Overrides:
consumeLinein classHgConsumer
-
getChangedFiles
public List<ScmFile> getChangedFiles()
-
getDifferences
public Map<String,CharSequence> getDifferences()
-
-