Class JGitChangeLogCommand
- java.lang.Object
-
- org.apache.maven.scm.command.AbstractCommand
-
- org.apache.maven.scm.command.changelog.AbstractChangeLogCommand
-
- org.apache.maven.scm.provider.git.jgit.command.changelog.JGitChangeLogCommand
-
- All Implemented Interfaces:
ChangeLogCommand
,Command
,GitCommand
public class JGitChangeLogCommand extends AbstractChangeLogCommand implements GitCommand
- Since:
- 1.9
- Author:
- Mark Struberg, Dominik Bartholdi (imod)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JGitChangeLogCommand.ChangeEntry
-
Field Summary
-
Fields inherited from class org.apache.maven.scm.command.AbstractCommand
logger
-
-
Constructor Summary
Constructors Constructor Description JGitChangeLogCommand()
-
Method Summary
-
Methods inherited from class org.apache.maven.scm.command.changelog.AbstractChangeLogCommand
executeChangeLogCommand, executeCommand
-
Methods inherited from class org.apache.maven.scm.command.AbstractCommand
execute
-
-
-
-
Constructor Detail
-
JGitChangeLogCommand
public JGitChangeLogCommand()
-
-
Method Detail
-
executeChangeLogCommand
protected ChangeLogScmResult executeChangeLogCommand(ScmProviderRepository repo, ScmFileSet fileSet, ScmVersion startVersion, ScmVersion endVersion, String datePattern) throws ScmException
- Overrides:
executeChangeLogCommand
in classAbstractChangeLogCommand
- Throws:
ScmException
-
executeChangeLogCommand
protected ChangeLogScmResult executeChangeLogCommand(ScmProviderRepository repository, ScmFileSet fileSet, ScmVersion version, String datePattern) throws ScmException
- Overrides:
executeChangeLogCommand
in classAbstractChangeLogCommand
- Throws:
ScmException
-
executeChangeLogCommand
protected ChangeLogScmResult executeChangeLogCommand(ScmProviderRepository repo, ScmFileSet fileSet, Date startDate, Date endDate, ScmBranch branch, String datePattern) throws ScmException
- Specified by:
executeChangeLogCommand
in classAbstractChangeLogCommand
- Throws:
ScmException
-
executeChangeLogCommand
protected ChangeLogScmResult executeChangeLogCommand(ScmProviderRepository repo, ScmFileSet fileSet, Date startDate, Date endDate, ScmBranch branch, String datePattern, ScmVersion startVersion, ScmVersion endVersion) throws ScmException
- Throws:
ScmException
-
executeChangeLogCommand
protected ChangeLogScmResult executeChangeLogCommand(ScmProviderRepository repo, ScmFileSet fileSet, Date startDate, Date endDate, ScmBranch branch, String datePattern, ScmVersion startVersion, ScmVersion endVersion, ScmVersion version) throws ScmException
- Throws:
ScmException
-
whatchanged
public List<JGitChangeLogCommand.ChangeEntry> whatchanged(org.eclipse.jgit.lib.Repository repo, org.eclipse.jgit.revwalk.RevSort[] sortings, String fromRev, String toRev, Date fromDate, Date toDate, int maxLines) throws org.eclipse.jgit.errors.MissingObjectException, org.eclipse.jgit.errors.IncorrectObjectTypeException, IOException
- Throws:
org.eclipse.jgit.errors.MissingObjectException
org.eclipse.jgit.errors.IncorrectObjectTypeException
IOException
-
-