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
- Since:
- 1.9
- Author:
- Mark Struberg, Dominik Bartholdi (imod)
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class org.apache.maven.scm.command.AbstractCommand
logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ChangeLogScmResultexecuteChangeLogCommand(ScmProviderRepository repo, ScmFileSet fileSet, Date startDate, Date endDate, ScmBranch branch, String datePattern) protected ChangeLogScmResultexecuteChangeLogCommand(ScmProviderRepository repo, ScmFileSet fileSet, Date startDate, Date endDate, ScmBranch branch, String datePattern, ScmVersion startVersion, ScmVersion endVersion) protected ChangeLogScmResultexecuteChangeLogCommand(ScmProviderRepository repo, ScmFileSet fileSet, Date startDate, Date endDate, ScmBranch branch, String datePattern, ScmVersion startVersion, ScmVersion endVersion, ScmVersion version) protected ChangeLogScmResultexecuteChangeLogCommand(ScmProviderRepository repository, ScmFileSet fileSet, ScmVersion version, String datePattern) protected ChangeLogScmResultexecuteChangeLogCommand(ScmProviderRepository repo, ScmFileSet fileSet, ScmVersion startVersion, ScmVersion endVersion, String datePattern) whatchanged(org.eclipse.jgit.lib.Repository repo, org.eclipse.jgit.revwalk.RevSort[] sortings, String fromRev, String toRev, Date fromDate, Date toDate, int maxLines) Methods inherited from class org.apache.maven.scm.command.changelog.AbstractChangeLogCommand
executeChangeLogCommand, executeCommandMethods inherited from class org.apache.maven.scm.command.AbstractCommand
execute
-
Constructor Details
-
JGitChangeLogCommand
public JGitChangeLogCommand()
-
-
Method Details
-
executeChangeLogCommand
protected ChangeLogScmResult executeChangeLogCommand(ScmProviderRepository repo, ScmFileSet fileSet, ScmVersion startVersion, ScmVersion endVersion, String datePattern) throws ScmException - Overrides:
executeChangeLogCommandin classAbstractChangeLogCommand- Throws:
ScmException
-
executeChangeLogCommand
protected ChangeLogScmResult executeChangeLogCommand(ScmProviderRepository repository, ScmFileSet fileSet, ScmVersion version, String datePattern) throws ScmException - Overrides:
executeChangeLogCommandin classAbstractChangeLogCommand- Throws:
ScmException
-
executeChangeLogCommand
protected ChangeLogScmResult executeChangeLogCommand(ScmProviderRepository repo, ScmFileSet fileSet, Date startDate, Date endDate, ScmBranch branch, String datePattern) throws ScmException - Specified by:
executeChangeLogCommandin 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.MissingObjectExceptionorg.eclipse.jgit.errors.IncorrectObjectTypeExceptionIOException
-