Class GitChangeLogCommand
java.lang.Object
org.apache.maven.scm.command.AbstractCommand
org.apache.maven.scm.command.changelog.AbstractChangeLogCommand
org.apache.maven.scm.provider.git.gitexe.command.changelog.GitChangeLogCommand
- All Implemented Interfaces:
ChangeLogCommand, Command, GitCommand
-
Field Summary
FieldsFields inherited from class AbstractCommand
logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.codehaus.plexus.util.cli.CommandlinecreateCommandLine(GitScmProviderRepository repository, File workingDirectory, ScmBranch branch, Date startDate, Date endDate, ScmVersion startVersion, ScmVersion endVersion) This method creates the commandline for the git-whatchanged command.(package private) static org.codehaus.plexus.util.cli.CommandlinecreateCommandLine(GitScmProviderRepository repository, File workingDirectory, ScmBranch branch, Date startDate, Date endDate, ScmVersion startVersion, ScmVersion endVersion, Integer limit) (package private) static org.codehaus.plexus.util.cli.CommandlinecreateCommandLine(GitScmProviderRepository repository, File workingDirectory, ScmBranch branch, Date startDate, Date endDate, ScmVersion startVersion, ScmVersion endVersion, Integer limit, ScmVersion version) protected ChangeLogScmResultprotected 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, Integer limit) protected ChangeLogScmResultexecuteChangeLogCommand(ScmProviderRepository repo, ScmFileSet fileSet, Date startDate, Date endDate, ScmBranch branch, String datePattern, ScmVersion startVersion, ScmVersion endVersion, Integer limit, ScmVersion version) protected ChangeLogScmResultexecuteChangeLogCommand(ScmProviderRepository repository, ScmFileSet fileSet, ScmVersion version, String datePattern) protected ChangeLogScmResultexecuteChangeLogCommand(ScmProviderRepository repo, ScmFileSet fileSet, ScmVersion startVersion, ScmVersion endVersion, String datePattern) executeCommand(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) Methods inherited from class AbstractCommand
execute
-
Field Details
-
DATE_FORMAT
- See Also:
-
-
Constructor Details
-
GitChangeLogCommand
public GitChangeLogCommand()
-
-
Method Details
-
executeCommand
public ScmResult executeCommand(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException Description copied from class:AbstractChangeLogCommand- Specified by:
executeCommandin interfaceChangeLogCommand- Overrides:
executeCommandin classAbstractChangeLogCommand- Throws:
ScmException
-
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 repo, ScmFileSet fileSet, Date startDate, Date endDate, ScmBranch branch, String datePattern) throws ScmException - Specified by:
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, ScmVersion startVersion, ScmVersion endVersion) throws ScmException - Throws:
ScmException
-
executeChangeLogCommand
protected ChangeLogScmResult executeChangeLogCommand(ChangeLogScmRequest request) throws ScmException - Overrides:
executeChangeLogCommandin classAbstractChangeLogCommand- Throws:
ScmException
-
executeChangeLogCommand
protected ChangeLogScmResult executeChangeLogCommand(ScmProviderRepository repo, ScmFileSet fileSet, Date startDate, Date endDate, ScmBranch branch, String datePattern, ScmVersion startVersion, ScmVersion endVersion, Integer limit) throws ScmException - Throws:
ScmException
-
executeChangeLogCommand
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 - Throws:
ScmException
-
createCommandLine
public static org.codehaus.plexus.util.cli.Commandline createCommandLine(GitScmProviderRepository repository, File workingDirectory, ScmBranch branch, Date startDate, Date endDate, ScmVersion startVersion, ScmVersion endVersion) This method creates the commandline for the git-whatchanged command.Since it uses --since and --until for the start and end date, the branch and version parameters can be used simultanously.
- Parameters:
repository- provider repositry to useworkingDirectory- working copy directorybranch- branch to run command onstartDate- start date of log entriesendDate- end date of log entriesstartVersion- start version of log entriesendVersion- end version of log entries- Returns:
- command line
-
createCommandLine
static org.codehaus.plexus.util.cli.Commandline createCommandLine(GitScmProviderRepository repository, File workingDirectory, ScmBranch branch, Date startDate, Date endDate, ScmVersion startVersion, ScmVersion endVersion, Integer limit) -
createCommandLine
static org.codehaus.plexus.util.cli.Commandline createCommandLine(GitScmProviderRepository repository, File workingDirectory, ScmBranch branch, Date startDate, Date endDate, ScmVersion startVersion, ScmVersion endVersion, Integer limit, ScmVersion version)
-