public abstract class AbstractCommand extends Object implements Command
Modifier and Type | Field and Description |
---|---|
protected org.slf4j.Logger |
logger |
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) |
protected org.slf4j.Logger 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–2024 The Apache Software Foundation. All rights reserved.