public abstract class AbstractListCommand extends AbstractCommand
logger
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
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 listingscmVersion
- TODOScmException
- if anypublic ScmResult executeCommand(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
executeCommand
in class AbstractCommand
ScmException
Copyright © 2003–2024 The Apache Software Foundation. All rights reserved.