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
 
 public abstract class AbstractCommand extends Object implements Command - Author:
- Emmanuel Venisse, Trygve Laugstøl
 
- 
- 
Constructor SummaryConstructors Constructor Description AbstractCommand()
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description ScmResultexecute(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters)protected abstract ScmResultexecuteCommand(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters)
 
- 
- 
- 
Field Detail- 
loggerprotected org.slf4j.Logger logger 
 
- 
 - 
Constructor Detail- 
AbstractCommandpublic AbstractCommand() 
 
- 
 - 
Method Detail- 
executeCommandprotected abstract ScmResult executeCommand(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException - Throws:
- ScmException
 
 - 
executepublic final ScmResult execute(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException - Specified by:
- executein interface- Command
- Parameters:
- repository- not null
- fileSet- not null
- parameters- could be null
- Returns:
- the result object
- Throws:
- ScmException- if any
 
 
- 
 
-