Class JGitDiffCommand
- java.lang.Object
-
- org.apache.maven.scm.command.AbstractCommand
-
- org.apache.maven.scm.command.diff.AbstractDiffCommand
-
- org.apache.maven.scm.provider.git.jgit.command.diff.JGitDiffCommand
-
- All Implemented Interfaces:
Command
,GitCommand
public class JGitDiffCommand extends AbstractDiffCommand implements GitCommand
- Since:
- 1.9
-
-
Constructor Summary
Constructors Constructor Description JGitDiffCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DiffScmResult
callDiff(org.eclipse.jgit.api.Git git, ScmVersion startRevision, ScmVersion endRevision)
protected DiffScmResult
executeDiffCommand(ScmProviderRepository repository, ScmFileSet fileSet, ScmVersion startRevision, ScmVersion endRevision)
private org.eclipse.jgit.treewalk.AbstractTreeIterator
getTreeIterator(org.eclipse.jgit.lib.Repository repo, java.lang.String name)
-
Methods inherited from class org.apache.maven.scm.command.diff.AbstractDiffCommand
executeCommand
-
Methods inherited from class org.apache.maven.scm.command.AbstractCommand
execute, getLogger, setLogger
-
-
-
-
Method Detail
-
executeDiffCommand
protected DiffScmResult executeDiffCommand(ScmProviderRepository repository, ScmFileSet fileSet, ScmVersion startRevision, ScmVersion endRevision) throws ScmException
- Specified by:
executeDiffCommand
in classAbstractDiffCommand
- Throws:
ScmException
-
callDiff
public DiffScmResult callDiff(org.eclipse.jgit.api.Git git, ScmVersion startRevision, ScmVersion endRevision) throws java.io.IOException, org.eclipse.jgit.api.errors.GitAPIException, ScmException
- Throws:
java.io.IOException
org.eclipse.jgit.api.errors.GitAPIException
ScmException
-
getTreeIterator
private org.eclipse.jgit.treewalk.AbstractTreeIterator getTreeIterator(org.eclipse.jgit.lib.Repository repo, java.lang.String name) throws java.io.IOException
- Throws:
java.io.IOException
-
-