com.perforce.maven.scm.provider.p4.command.diff
Class P4DiffCommand

java.lang.Object
  extended by org.apache.maven.scm.command.AbstractCommand
      extended by org.apache.maven.scm.command.diff.AbstractDiffCommand
          extended by com.perforce.maven.scm.provider.p4.command.diff.P4DiffCommand
All Implemented Interfaces:
P4Command, org.apache.maven.scm.command.Command

public class P4DiffCommand
extends org.apache.maven.scm.command.diff.AbstractDiffCommand
implements P4Command

The class uses the Perforce diff2 command to diff of two depot files.


Field Summary
static String command
          The Constant command.
 
Fields inherited from interface org.apache.maven.scm.command.Command
ROLE
 
Constructor Summary
P4DiffCommand()
           
 
Method Summary
protected  org.apache.maven.scm.command.diff.DiffScmResult executeDiffCommand(org.apache.maven.scm.provider.ScmProviderRepository repo, org.apache.maven.scm.ScmFileSet files, org.apache.maven.scm.ScmVersion startRev, org.apache.maven.scm.ScmVersion endRev)
           
 
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
 
Methods inherited from interface org.apache.maven.scm.command.Command
execute, getLogger, setLogger
 

Field Detail

command

public static final String command
The Constant command.

See Also:
Constant Field Values
Constructor Detail

P4DiffCommand

public P4DiffCommand()
Method Detail

executeDiffCommand

protected org.apache.maven.scm.command.diff.DiffScmResult executeDiffCommand(org.apache.maven.scm.provider.ScmProviderRepository repo,
                                                                             org.apache.maven.scm.ScmFileSet files,
                                                                             org.apache.maven.scm.ScmVersion startRev,
                                                                             org.apache.maven.scm.ScmVersion endRev)
                                                                      throws org.apache.maven.scm.ScmException
Specified by:
executeDiffCommand in class org.apache.maven.scm.command.diff.AbstractDiffCommand
Throws:
org.apache.maven.scm.ScmException
See Also:
(org.apache.maven.scm.provider.ScmProviderRepository, org.apache.maven.scm.ScmFileSet, org.apache.maven.scm.ScmVersion, org.apache.maven.scm.ScmVersion)


Copyright © 2003-2011 Perforce Software. All Rights Reserved.