public abstract class AbstractCommand extends Object implements Command
| Constructor and Description |
|---|
AbstractCommand() |
| Modifier and Type | Method and Description |
|---|---|
ScmResult |
execute(ScmProviderRepository repository,
ScmFileSet fileSet,
CommandParameters parameters) |
protected abstract ScmResult |
executeCommand(ScmProviderRepository repository,
ScmFileSet fileSet,
CommandParameters parameters) |
ScmLogger |
getLogger() |
void |
setLogger(ScmLogger logger) |
public AbstractCommand()
protected abstract ScmResult executeCommand(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
ScmExceptionpublic final ScmResult execute(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
execute in interface Commandrepository - not nullfileSet - not nullparameters - could be nullScmException - if anyCopyright © 2003–2018 The Apache Software Foundation. All rights reserved.