org.apache.maven.scm.command.lock
Class AbstractLockCommand

java.lang.Object
  extended byorg.apache.maven.scm.command.AbstractCommand
      extended byorg.apache.maven.scm.command.lock.AbstractLockCommand
All Implemented Interfaces:
Command

public abstract class AbstractLockCommand
extends AbstractCommand

Version:
$Id: AbstractLockCommand.java 162232 2004-12-24 03:04:48Z brett $
Author:
Emmanuel Venisse, Trygve Laugstøl

Field Summary
 
Fields inherited from class org.apache.maven.scm.command.AbstractCommand
 
Fields inherited from interface org.apache.maven.scm.command.Command
ROLE
 
Constructor Summary
AbstractLockCommand()
           
 
Method Summary
 ScmResult executeCommand(ScmRepository repository, java.io.File workingDirectory, CommandParameters parameters)
           
protected abstract  ScmResult executeLockCommand(ScmRepository repository, java.io.File workingDirectory, java.lang.String filename)
           
 
Methods inherited from class org.apache.maven.scm.command.AbstractCommand
execute, executeCommand, getLogger, setLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractLockCommand

public AbstractLockCommand()
Method Detail

executeLockCommand

protected abstract ScmResult executeLockCommand(ScmRepository repository,
                                                java.io.File workingDirectory,
                                                java.lang.String filename)
                                         throws ScmException
Throws:
ScmException

executeCommand

public ScmResult executeCommand(ScmRepository repository,
                                java.io.File workingDirectory,
                                CommandParameters parameters)
                         throws ScmException
Throws:
ScmException