org.apache.maven.scm.command.branch
Class AbstractBranchCommand

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

public abstract class AbstractBranchCommand
extends AbstractCommand

Version:
$Id: AbstractBranchCommand.java 372209 2006-01-25 13:30:01Z evenisse $
Author:
Trygve Laugstøl

Field Summary
 
Fields inherited from interface org.apache.maven.scm.command.Command
ROLE
 
Constructor Summary
AbstractBranchCommand()
           
 
Method Summary
protected abstract  ScmResult executeBranch(ScmRepository repository, java.io.File workingDirectory, java.lang.String branchName)
           
 ScmResult executeCommand(ScmRepository repository, java.io.File workingDirectory, CommandParameters parameters)
           
 
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

AbstractBranchCommand

public AbstractBranchCommand()
Method Detail

executeBranch

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

executeCommand

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


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.