com.perforce.maven.scm.provider.p4.command.add
Class P4AddCommand

java.lang.Object
  extended by org.apache.maven.scm.command.AbstractCommand
      extended by org.apache.maven.scm.command.add.AbstractAddCommand
          extended by com.perforce.maven.scm.provider.p4.command.add.P4AddCommand
All Implemented Interfaces:
P4Command, org.apache.maven.scm.command.Command

public class P4AddCommand
extends org.apache.maven.scm.command.add.AbstractAddCommand
implements P4Command

The class uses the Perforce add command to open new files to add to the Perforce depot.


Field Summary
static String command
          The Constant command.
 
Fields inherited from interface org.apache.maven.scm.command.Command
ROLE
 
Constructor Summary
P4AddCommand()
           
 
Method Summary
protected  org.apache.maven.scm.ScmResult executeAddCommand(org.apache.maven.scm.provider.ScmProviderRepository repo, org.apache.maven.scm.ScmFileSet files, String message, boolean binary)
           
 
Methods inherited from class org.apache.maven.scm.command.add.AbstractAddCommand
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

P4AddCommand

public P4AddCommand()
Method Detail

executeAddCommand

protected org.apache.maven.scm.ScmResult executeAddCommand(org.apache.maven.scm.provider.ScmProviderRepository repo,
                                                           org.apache.maven.scm.ScmFileSet files,
                                                           String message,
                                                           boolean binary)
                                                    throws org.apache.maven.scm.ScmException
Specified by:
executeAddCommand in class org.apache.maven.scm.command.add.AbstractAddCommand
Throws:
org.apache.maven.scm.ScmException
See Also:
(org.apache.maven.scm.provider.ScmProviderRepository, org.apache.maven.scm.ScmFileSet, java.lang.String, boolean)


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