Package org.apache.maven.scm.command
Class AbstractCommand
java.lang.Object
org.apache.maven.scm.command.AbstractCommand
- All Implemented Interfaces:
Command
- Direct Known Subclasses:
AbstractAddCommand,AbstractBlameCommand,AbstractBranchCommand,AbstractChangeLogCommand,AbstractCheckInCommand,AbstractCheckOutCommand,AbstractDiffCommand,AbstractEditCommand,AbstractExportCommand,AbstractFileInfoCommand,AbstractListCommand,AbstractLockCommand,AbstractLoginCommand,AbstractMkdirCommand,AbstractRemoteInfoCommand,AbstractRemoveCommand,AbstractStatusCommand,AbstractTagCommand,AbstractUnEditCommand,AbstractUnlockCommand,AbstractUntagCommand,AbstractUpdateCommand,GitInfoCommand,HgInfoCommand,JGitInfoCommand,SvnInfoCommand
- Author:
- Emmanuel Venisse, Trygve Laugstøl
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal ScmResultexecute(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) protected abstract ScmResultexecuteCommand(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters)
-
Field Details
-
logger
-
-
Constructor Details
-
AbstractCommand
public AbstractCommand()
-
-
Method Details
-
executeCommand
protected abstract ScmResult executeCommand(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException - Throws:
ScmException
-
execute
public final ScmResult execute(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException - Specified by:
executein interfaceCommand- Parameters:
repository- not nullfileSet- not nullparameters- could be null- Returns:
- the result object
- Throws:
ScmException- if any
-