org.apache.maven.scm.provider.integrity.command.unlock
Class IntegrityUnlockCommand

java.lang.Object
  extended by org.apache.maven.scm.command.AbstractCommand
      extended by org.apache.maven.scm.command.unlock.AbstractUnlockCommand
          extended by org.apache.maven.scm.provider.integrity.command.unlock.IntegrityUnlockCommand
All Implemented Interfaces:
Command

public class IntegrityUnlockCommand
extends AbstractUnlockCommand

MKS Integrity implementation of Maven's AbstractUnlockCommand
This command will run a 'si unlock' command for the specified filename

Since:
1.6
Version:
$Id: IntegrityUnlockCommand.java 1.3 2011/08/22 13:06:40EDT Cletus D'Souza (dsouza) Exp $
Author:
Cletus D'Souza

Field Summary
 
Fields inherited from interface org.apache.maven.scm.command.Command
ROLE
 
Constructor Summary
IntegrityUnlockCommand(String filename)
          IntegrityUnlockCommand constructor requires a filename argument to be supplied for its execution
This avoids having to run the unlock command across the entire Sandbox.
 
Method Summary
protected  ScmResult executeCommand(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters)
          
 ScmResult executeUnlockCommand(ScmProviderRepository repository, File workingDirectory)
          
 
Methods inherited from class org.apache.maven.scm.command.unlock.AbstractUnlockCommand
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

IntegrityUnlockCommand

public IntegrityUnlockCommand(String filename)
IntegrityUnlockCommand constructor requires a filename argument to be supplied for its execution
This avoids having to run the unlock command across the entire Sandbox.

Parameters:
filename - Relative path of the file needed to be unlocked
Method Detail

executeUnlockCommand

public ScmResult executeUnlockCommand(ScmProviderRepository repository,
                                      File workingDirectory)
                               throws ScmException

Specified by:
executeUnlockCommand in class AbstractUnlockCommand
Throws:
ScmException

executeCommand

protected ScmResult executeCommand(ScmProviderRepository repository,
                                   ScmFileSet fileSet,
                                   CommandParameters parameters)
                            throws ScmException

Specified by:
executeCommand in class AbstractCommand
Throws:
ScmException


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