Class AbstractDiffCommand
java.lang.Object
org.apache.maven.scm.command.AbstractCommand
org.apache.maven.scm.command.diff.AbstractDiffCommand
- All Implemented Interfaces:
Command
- Direct Known Subclasses:
GitDiffCommand
,HgDiffCommand
,JGitDiffCommand
,SvnDiffCommand
TODO: Better support for entire filesets.
TODO: Better support for entire changesets (ie consistency between revision handling in SVN).
TODO: Consistent handling of revisions, tags and dates - currently only revisions supported
- Author:
- Emmanuel Venisse, Trygve Laugstøl, Brett Porter
-
Field Summary
Fields inherited from class org.apache.maven.scm.command.AbstractCommand
logger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecuteCommand
(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) protected abstract DiffScmResult
executeDiffCommand
(ScmProviderRepository repository, ScmFileSet fileSet, ScmVersion startRevision, ScmVersion endRevision) Methods inherited from class org.apache.maven.scm.command.AbstractCommand
execute
-
Constructor Details
-
AbstractDiffCommand
public AbstractDiffCommand()
-
-
Method Details
-
executeDiffCommand
protected abstract DiffScmResult executeDiffCommand(ScmProviderRepository repository, ScmFileSet fileSet, ScmVersion startRevision, ScmVersion endRevision) throws ScmException - Throws:
ScmException
-
executeCommand
public ScmResult executeCommand(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException - Specified by:
executeCommand
in classAbstractCommand
- Throws:
ScmException
-