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:
GitBranchCommand, HgBranchCommand, JGitBranchCommand, SvnBranchCommand
-
Field Summary
Fields inherited from class AbstractCommand
logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract ScmResultexecuteBranchCommand(ScmProviderRepository repository, ScmFileSet fileSet, String branchName, String message) protected ScmResultexecuteBranchCommand(ScmProviderRepository repository, ScmFileSet fileSet, String branchName, ScmBranchParameters scmBranchParameters) Default impl to provide backward comp.executeCommand(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) Methods inherited from class AbstractCommand
execute
-
Constructor Details
-
AbstractBranchCommand
public AbstractBranchCommand()
-
-
Method Details
-
executeBranchCommand
protected abstract ScmResult executeBranchCommand(ScmProviderRepository repository, ScmFileSet fileSet, String branchName, String message) throws ScmException - Throws:
ScmException
-
executeBranchCommand
protected ScmResult executeBranchCommand(ScmProviderRepository repository, ScmFileSet fileSet, String branchName, ScmBranchParameters scmBranchParameters) throws ScmException Default impl to provide backward comp.- Parameters:
repository- TODOfileSet- TODObranchName- TODOscmBranchParameters- TODO- Returns:
- TODO
- Throws:
ScmException- if any- Since:
- 1.3
-
executeCommand
public ScmResult executeCommand(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException - Specified by:
executeCommandin classAbstractCommand- Throws:
ScmException
-