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
-
-
Field Summary
-
Fields inherited from class org.apache.maven.scm.command.AbstractCommand
logger
-
-
Constructor Summary
Constructors Constructor Description JGitDiffCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DiffScmResultcallDiff(org.eclipse.jgit.api.Git git, ScmVersion startRevision, ScmVersion endRevision)protected DiffScmResultexecuteDiffCommand(ScmProviderRepository repository, ScmFileSet fileSet, ScmVersion startRevision, ScmVersion endRevision)private org.eclipse.jgit.treewalk.AbstractTreeIteratorgetTreeIterator(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
-
-
-
-
Method Detail
-
executeDiffCommand
protected DiffScmResult executeDiffCommand(ScmProviderRepository repository, ScmFileSet fileSet, ScmVersion startRevision, ScmVersion endRevision) throws ScmException
- Specified by:
executeDiffCommandin 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.IOExceptionorg.eclipse.jgit.api.errors.GitAPIExceptionScmException
-
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
-
-