public class GitChangeLogCommand extends AbstractChangeLogCommand implements GitCommand
| Constructor and Description |
|---|
GitChangeLogCommand() |
execute, getLogger, setLoggerpublic GitChangeLogCommand()
public ScmResult executeCommand(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
AbstractChangeLogCommandexecuteCommand in interface ChangeLogCommandexecuteCommand in class AbstractChangeLogCommandScmExceptionprotected ChangeLogScmResult executeChangeLogCommand(ScmProviderRepository repo, ScmFileSet fileSet, ScmVersion startVersion, ScmVersion endVersion, String datePattern) throws ScmException
executeChangeLogCommand in class AbstractChangeLogCommandScmExceptionprotected ChangeLogScmResult executeChangeLogCommand(ScmProviderRepository repo, ScmFileSet fileSet, Date startDate, Date endDate, ScmBranch branch, String datePattern) throws ScmException
executeChangeLogCommand in class AbstractChangeLogCommandScmExceptionprotected ChangeLogScmResult executeChangeLogCommand(ScmProviderRepository repository, ScmFileSet fileSet, ScmVersion version, String datePattern) throws ScmException
executeChangeLogCommand in class AbstractChangeLogCommandScmExceptionprotected ChangeLogScmResult executeChangeLogCommand(ScmProviderRepository repo, ScmFileSet fileSet, Date startDate, Date endDate, ScmBranch branch, String datePattern, ScmVersion startVersion, ScmVersion endVersion) throws ScmException
ScmExceptionprotected ChangeLogScmResult executeChangeLogCommand(ChangeLogScmRequest request) throws ScmException
executeChangeLogCommand in class AbstractChangeLogCommandScmExceptionprotected ChangeLogScmResult executeChangeLogCommand(ScmProviderRepository repo, ScmFileSet fileSet, Date startDate, Date endDate, ScmBranch branch, String datePattern, ScmVersion startVersion, ScmVersion endVersion, Integer limit) throws ScmException
ScmExceptionprotected ChangeLogScmResult executeChangeLogCommand(ScmProviderRepository repo, ScmFileSet fileSet, Date startDate, Date endDate, ScmBranch branch, String datePattern, ScmVersion startVersion, ScmVersion endVersion, Integer limit, ScmVersion version) throws ScmException
ScmExceptionpublic static org.codehaus.plexus.util.cli.Commandline createCommandLine(GitScmProviderRepository repository, File workingDirectory, ScmBranch branch, Date startDate, Date endDate, ScmVersion startVersion, ScmVersion endVersion)
Since it uses --since and --until for the start and end date, the branch and version parameters can be used simultanously.
repository - Provider repositry to use.workingDirectory - Working copy directory.branch - Branch to run command on.startDate - Start date of log entries.endDate - End date of log entries.startVersion - Start version of log entries.endVersion - End version of log entries.Copyright © 2003–2021 The Apache Software Foundation. All rights reserved.