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
ScmException
public final ScmResult execute(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
execute
in interface Command
repository
- not nullfileSet
- not nullparameters
- could be nullScmException
- if anyCopyright © 2003–2021 The Apache Software Foundation. All rights reserved.