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
- Since:
- 1.9
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncallDiff
(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, 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
-
Constructor Details
-
JGitDiffCommand
public JGitDiffCommand()
-
-
Method Details
-
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 IOException, org.eclipse.jgit.api.errors.GitAPIException, ScmException - Throws:
IOException
org.eclipse.jgit.api.errors.GitAPIException
ScmException
-
getTreeIterator
private org.eclipse.jgit.treewalk.AbstractTreeIterator getTreeIterator(org.eclipse.jgit.lib.Repository repo, String name) throws IOException - Throws:
IOException
-