public abstract class AbstractListCommand extends AbstractCommand
Constructor and Description |
---|
AbstractListCommand() |
Modifier and Type | Method and Description |
---|---|
ScmResult |
executeCommand(ScmProviderRepository repository,
ScmFileSet fileSet,
CommandParameters parameters) |
protected abstract ListScmResult |
executeListCommand(ScmProviderRepository repository,
ScmFileSet fileSet,
boolean recursive,
ScmVersion scmVersion)
List contents of the remote repository
|
execute, getLogger, setLogger
public AbstractListCommand()
protected abstract ListScmResult executeListCommand(ScmProviderRepository repository, ScmFileSet fileSet, boolean recursive, ScmVersion scmVersion) throws ScmException
repository
- what to listfileSet
- the files to listrecursive
- whether list should return subfolder listingScmException
public ScmResult executeCommand(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
executeCommand
in class AbstractCommand
ScmException
Copyright © 2003–2015 The Apache Software Foundation. All rights reserved.