Class AbstractBranchCommand
- java.lang.Object
-
- org.apache.maven.scm.command.AbstractCommand
-
- org.apache.maven.scm.command.branch.AbstractBranchCommand
-
- All Implemented Interfaces:
Command
- Direct Known Subclasses:
AbstractCvsBranchCommand,GitBranchCommand,HgBranchCommand,SvnBranchCommand,TfsBranchCommand
public abstract class AbstractBranchCommand extends AbstractCommand
- Author:
- Emmanuel Venisse, Trygve Laugstøl
-
-
Constructor Summary
Constructors Constructor Description AbstractBranchCommand()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract ScmResultexecuteBranchCommand(ScmProviderRepository repository, ScmFileSet fileSet, java.lang.String branchName, java.lang.String message)protected ScmResultexecuteBranchCommand(ScmProviderRepository repository, ScmFileSet fileSet, java.lang.String branchName, ScmBranchParameters scmBranchParameters)default impl to provide backward compScmResultexecuteCommand(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters)-
Methods inherited from class org.apache.maven.scm.command.AbstractCommand
execute, getLogger, setLogger
-
-
-
-
Method Detail
-
executeBranchCommand
protected abstract ScmResult executeBranchCommand(ScmProviderRepository repository, ScmFileSet fileSet, java.lang.String branchName, java.lang.String message) throws ScmException
- Throws:
ScmException
-
executeBranchCommand
protected ScmResult executeBranchCommand(ScmProviderRepository repository, ScmFileSet fileSet, java.lang.String branchName, ScmBranchParameters scmBranchParameters) throws ScmException
default impl to provide backward comp- Parameters:
repository-fileSet-branchName-scmBranchParameters-- Returns:
- Throws:
ScmException- Since:
- 1.3
-
executeCommand
public ScmResult executeCommand(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
- Specified by:
executeCommandin classAbstractCommand- Throws:
ScmException
-
-