com.perforce.maven.scm.provider.p4.command.unedit
Class P4UnEditCommand

java.lang.Object
  extended by org.apache.maven.scm.command.AbstractCommand
      extended by org.apache.maven.scm.command.unedit.AbstractUnEditCommand
          extended by com.perforce.maven.scm.provider.p4.command.unedit.P4UnEditCommand
All Implemented Interfaces:
P4Command, org.apache.maven.scm.command.Command

public class P4UnEditCommand
extends org.apache.maven.scm.command.unedit.AbstractUnEditCommand
implements P4Command

The class uses the Perforce revert command to undo changes on opened files.


Field Summary
static String command
          The Constant command.
 
Fields inherited from interface org.apache.maven.scm.command.Command
ROLE
 
Constructor Summary
P4UnEditCommand()
           
 
Method Summary
protected  org.apache.maven.scm.ScmResult executeUnEditCommand(org.apache.maven.scm.provider.ScmProviderRepository repo, org.apache.maven.scm.ScmFileSet files)
           
 
Methods inherited from class org.apache.maven.scm.command.unedit.AbstractUnEditCommand
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

P4UnEditCommand

public P4UnEditCommand()
Method Detail

executeUnEditCommand

protected org.apache.maven.scm.ScmResult executeUnEditCommand(org.apache.maven.scm.provider.ScmProviderRepository repo,
                                                              org.apache.maven.scm.ScmFileSet files)
                                                       throws org.apache.maven.scm.ScmException
Specified by:
executeUnEditCommand in class org.apache.maven.scm.command.unedit.AbstractUnEditCommand
Throws:
org.apache.maven.scm.ScmException
See Also:
executeUnEditCommand(org.apache.maven.scm.provider.ScmProviderRepository, org.apache.maven.scm.ScmFileSet)


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