org.apache.maven.scm.provider.integrity.command.unlock
Class IntegrityUnlockCommand
java.lang.Object
org.apache.maven.scm.command.AbstractCommand
org.apache.maven.scm.command.unlock.AbstractUnlockCommand
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
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
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.