org.apache.maven.scm.command.diff
Class AbstractDiffCommand

java.lang.Object
  extended byorg.apache.maven.scm.command.AbstractCommand
      extended byorg.apache.maven.scm.command.diff.AbstractDiffCommand
All Implemented Interfaces:
Command

public abstract class AbstractDiffCommand
extends AbstractCommand

TODO: Better support for entire filesets. TODO: Better support for entire changesets (ie consistency between revision handling in CVS and SVN). TODO: Consistent handling of revisions, tags and dates - currently only revisions supported, though tags will work for CVS

Version:
$Id: AbstractDiffCommand.java 372209 2006-01-25 13:30:01Z evenisse $
Author:
Emmanuel Venisse, Trygve Laugstøl, Brett Porter

Field Summary
 
Fields inherited from interface org.apache.maven.scm.command.Command
ROLE
 
Constructor Summary
AbstractDiffCommand()
           
 
Method Summary
 ScmResult executeCommand(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters)
           
protected abstract  DiffScmResult executeDiffCommand(ScmProviderRepository repository, ScmFileSet fileSet, java.lang.String startRevision, java.lang.String endRevision)
           
 
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
 

Constructor Detail

AbstractDiffCommand

public AbstractDiffCommand()
Method Detail

executeDiffCommand

protected abstract DiffScmResult executeDiffCommand(ScmProviderRepository repository,
                                                    ScmFileSet fileSet,
                                                    java.lang.String startRevision,
                                                    java.lang.String endRevision)
                                             throws ScmException
Throws:
ScmException

executeCommand

public ScmResult executeCommand(ScmProviderRepository repository,
                                ScmFileSet fileSet,
                                CommandParameters parameters)
                         throws ScmException
Specified by:
executeCommand in class AbstractCommand
Throws:
ScmException


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.