org.apache.maven.scm.provider.integrity.command.diff
Class IntegrityDiffCommand

java.lang.Object
  extended by org.apache.maven.scm.command.AbstractCommand
      extended by org.apache.maven.scm.command.diff.AbstractDiffCommand
          extended by org.apache.maven.scm.provider.integrity.command.diff.IntegrityDiffCommand
All Implemented Interfaces:
Command

public class IntegrityDiffCommand
extends AbstractDiffCommand

MKS Integrity implementation for Maven's AbstractDiffCommand
Since MKS Integrity doesn't have a notion of arbitrarily differencing by a revision across the sandbox, this command will difference the current Sandbox working file against the server version.

Since:
1.6
Version:
$Id: IntegrityDiffCommand.java 1.4 2011/08/24 10:29:08EDT Cletus D'Souza (dsouza) Exp $
Author:
Cletus D'Souza

Field Summary
 
Fields inherited from interface org.apache.maven.scm.command.Command
ROLE
 
Constructor Summary
IntegrityDiffCommand()
           
 
Method Summary
 DiffScmResult executeDiffCommand(ScmProviderRepository repository, ScmFileSet fileSet, ScmVersion startRevision, ScmVersion endRevision)
          Since we can't arbitrarily apply the same start and end revisions to all files in the sandbox, this command will be adapted to show differences between the local version and the repository
 
Methods inherited from class org.apache.maven.scm.command.diff.AbstractDiffCommand
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
 

Constructor Detail

IntegrityDiffCommand

public IntegrityDiffCommand()
Method Detail

executeDiffCommand

public DiffScmResult executeDiffCommand(ScmProviderRepository repository,
                                        ScmFileSet fileSet,
                                        ScmVersion startRevision,
                                        ScmVersion endRevision)
                                 throws ScmException
Since we can't arbitrarily apply the same start and end revisions to all files in the sandbox, this command will be adapted to show differences between the local version and the repository

Specified by:
executeDiffCommand in class AbstractDiffCommand
Throws:
ScmException


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