org.apache.maven.scm.provider.cvslib.command.changelog
Class AbstractCvsChangeLogCommand

java.lang.Object
  extended by org.apache.maven.scm.command.AbstractCommand
      extended by org.apache.maven.scm.command.changelog.AbstractChangeLogCommand
          extended by org.apache.maven.scm.provider.cvslib.command.changelog.AbstractCvsChangeLogCommand
All Implemented Interfaces:
ChangeLogCommand, Command, CvsCommand
Direct Known Subclasses:
CvsExeChangeLogCommand, CvsJavaChangeLogCommand

public abstract class AbstractCvsChangeLogCommand
extends AbstractChangeLogCommand
implements CvsCommand

Version:
$Id: AbstractCvsChangeLogCommand.java 1306867 2012-03-29 13:45:10Z olamy $
Author:
Emmanuel Venisse , Trygve Laugstøl

Field Summary
 
Fields inherited from interface org.apache.maven.scm.command.Command
ROLE
 
Constructor Summary
AbstractCvsChangeLogCommand()
           
 
Method Summary
protected  void addDateRangeParameter(Commandline cl, String dateRange)
           
protected  ChangeLogScmResult executeChangeLogCommand(ScmProviderRepository repo, ScmFileSet fileSet, Date startDate, Date endDate, ScmBranch branch, String datePattern)
          
protected  ChangeLogScmResult executeChangeLogCommand(ScmProviderRepository repo, ScmFileSet fileSet, ScmVersion startVersion, ScmVersion endVersion, String datePattern)
          
protected abstract  ChangeLogScmResult executeCvsCommand(Commandline cl, Date startDate, Date endDate, ScmVersion startVersion, ScmVersion endVersion, String datePattern)
           
protected  String getDateFormat()
           
 
Methods inherited from class org.apache.maven.scm.command.changelog.AbstractChangeLogCommand
executeChangeLogCommand, executeCommand
 
Methods inherited from class org.apache.maven.scm.command.AbstractCommand
execute, getLogger, setLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.maven.scm.command.Command
execute, getLogger, setLogger
 

Constructor Detail

AbstractCvsChangeLogCommand

public AbstractCvsChangeLogCommand()
Method Detail

executeChangeLogCommand

protected ChangeLogScmResult executeChangeLogCommand(ScmProviderRepository repo,
                                                     ScmFileSet fileSet,
                                                     ScmVersion startVersion,
                                                     ScmVersion endVersion,
                                                     String datePattern)
                                              throws ScmException

Overrides:
executeChangeLogCommand in class AbstractChangeLogCommand
Throws:
ScmException

executeChangeLogCommand

protected ChangeLogScmResult executeChangeLogCommand(ScmProviderRepository repo,
                                                     ScmFileSet fileSet,
                                                     Date startDate,
                                                     Date endDate,
                                                     ScmBranch branch,
                                                     String datePattern)
                                              throws ScmException

Specified by:
executeChangeLogCommand in class AbstractChangeLogCommand
Throws:
ScmException

executeCvsCommand

protected abstract ChangeLogScmResult executeCvsCommand(Commandline cl,
                                                        Date startDate,
                                                        Date endDate,
                                                        ScmVersion startVersion,
                                                        ScmVersion endVersion,
                                                        String datePattern)
                                                 throws ScmException
Throws:
ScmException

getDateFormat

protected String getDateFormat()

addDateRangeParameter

protected void addDateRangeParameter(Commandline cl,
                                     String dateRange)


Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.