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) |
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 anypublic final ScmLogger getLogger()
Copyright © 2003–2014. All rights reserved.