public class GitChangeLogCommand extends AbstractChangeLogCommand implements GitCommand
logger
Constructor and Description |
---|
GitChangeLogCommand() |
execute
public GitChangeLogCommand()
public ScmResult executeCommand(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
AbstractChangeLogCommand
executeCommand
in interface ChangeLogCommand
executeCommand
in class AbstractChangeLogCommand
ScmException
protected ChangeLogScmResult executeChangeLogCommand(ScmProviderRepository repo, ScmFileSet fileSet, ScmVersion startVersion, ScmVersion endVersion, String datePattern) throws ScmException
executeChangeLogCommand
in class AbstractChangeLogCommand
ScmException
protected ChangeLogScmResult executeChangeLogCommand(ScmProviderRepository repo, ScmFileSet fileSet, Date startDate, Date endDate, ScmBranch branch, String datePattern) throws ScmException
executeChangeLogCommand
in class AbstractChangeLogCommand
ScmException
protected ChangeLogScmResult executeChangeLogCommand(ScmProviderRepository repository, ScmFileSet fileSet, ScmVersion version, String datePattern) throws ScmException
executeChangeLogCommand
in class AbstractChangeLogCommand
ScmException
protected ChangeLogScmResult executeChangeLogCommand(ScmProviderRepository repo, ScmFileSet fileSet, Date startDate, Date endDate, ScmBranch branch, String datePattern, ScmVersion startVersion, ScmVersion endVersion) throws ScmException
ScmException
protected ChangeLogScmResult executeChangeLogCommand(ChangeLogScmRequest request) throws ScmException
executeChangeLogCommand
in class AbstractChangeLogCommand
ScmException
protected ChangeLogScmResult executeChangeLogCommand(ScmProviderRepository repo, ScmFileSet fileSet, Date startDate, Date endDate, ScmBranch branch, String datePattern, ScmVersion startVersion, ScmVersion endVersion, Integer limit) throws ScmException
ScmException
protected ChangeLogScmResult executeChangeLogCommand(ScmProviderRepository repo, ScmFileSet fileSet, Date startDate, Date endDate, ScmBranch branch, String datePattern, ScmVersion startVersion, ScmVersion endVersion, Integer limit, ScmVersion version) throws ScmException
ScmException
public 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–2024 The Apache Software Foundation. All rights reserved.