Class AbstractUpdateCommand
- java.lang.Object
-
- org.apache.maven.scm.command.AbstractCommand
-
- org.apache.maven.scm.command.update.AbstractUpdateCommand
-
- All Implemented Interfaces:
Command
- Direct Known Subclasses:
GitUpdateCommand
,HgUpdateCommand
,LocalUpdateCommand
,SvnUpdateCommand
public abstract class AbstractUpdateCommand extends AbstractCommand
- Author:
- Emmanuel Venisse , Trygve Laugstøl
-
-
Field Summary
-
Fields inherited from class org.apache.maven.scm.command.AbstractCommand
logger
-
-
Constructor Summary
Constructors Constructor Description AbstractUpdateCommand()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description ScmResult
executeCommand(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters)
protected abstract UpdateScmResult
executeUpdateCommand(ScmProviderRepository repository, ScmFileSet fileSet, ScmVersion scmVersion)
protected abstract ChangeLogCommand
getChangeLogCommand()
-
Methods inherited from class org.apache.maven.scm.command.AbstractCommand
execute
-
-
-
-
Constructor Detail
-
AbstractUpdateCommand
public AbstractUpdateCommand()
-
-
Method Detail
-
executeUpdateCommand
protected abstract UpdateScmResult executeUpdateCommand(ScmProviderRepository repository, ScmFileSet fileSet, ScmVersion scmVersion) throws ScmException
- Throws:
ScmException
-
executeCommand
public ScmResult executeCommand(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
- Specified by:
executeCommand
in classAbstractCommand
- Throws:
ScmException
-
getChangeLogCommand
protected abstract ChangeLogCommand getChangeLogCommand()
-
-