com.perforce.maven.scm.provider.p4.command.blame
Class P4BlameCommand

java.lang.Object
  extended by org.apache.maven.scm.command.AbstractCommand
      extended by org.apache.maven.scm.command.blame.AbstractBlameCommand
          extended by com.perforce.maven.scm.provider.p4.command.blame.P4BlameCommand
All Implemented Interfaces:
P4Command, org.apache.maven.scm.command.Command

public class P4BlameCommand
extends org.apache.maven.scm.command.blame.AbstractBlameCommand
implements P4Command

Use Perforce annotate command to get file lines and their revisions. Use Perforce filelog command to get revision history of files.


Field Summary
static String command
          The Constant command.
 
Fields inherited from interface org.apache.maven.scm.command.Command
ROLE
 
Constructor Summary
P4BlameCommand()
           
 
Method Summary
 org.apache.maven.scm.command.blame.BlameScmResult executeBlameCommand(org.apache.maven.scm.provider.ScmProviderRepository repo, org.apache.maven.scm.ScmFileSet workingDirectory, String filename)
           
 
Methods inherited from class org.apache.maven.scm.command.blame.AbstractBlameCommand
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

P4BlameCommand

public P4BlameCommand()
Method Detail

executeBlameCommand

public org.apache.maven.scm.command.blame.BlameScmResult executeBlameCommand(org.apache.maven.scm.provider.ScmProviderRepository repo,
                                                                             org.apache.maven.scm.ScmFileSet workingDirectory,
                                                                             String filename)
                                                                      throws org.apache.maven.scm.ScmException
Specified by:
executeBlameCommand in class org.apache.maven.scm.command.blame.AbstractBlameCommand
Throws:
org.apache.maven.scm.ScmException
See Also:
(org.apache.maven.scm.provider.ScmProviderRepository, org.apache.maven.scm.ScmFileSet, java.lang.String)


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