public class JGitListCommand extends AbstractListCommand implements GitCommand
logger
Constructor and Description |
---|
JGitListCommand() |
Modifier and Type | Method and Description |
---|---|
protected ListScmResult |
executeListCommand(ScmProviderRepository repo,
ScmFileSet fileSet,
boolean recursive,
ScmVersion scmVersion)
List contents of the remote repository
|
void |
setSshSessionFactorySupplier(BiFunction<GitScmProviderRepository,org.slf4j.Logger,ScmProviderAwareSshdSessionFactory> sshSessionFactorySupplier) |
executeCommand
execute
public JGitListCommand()
public void setSshSessionFactorySupplier(BiFunction<GitScmProviderRepository,org.slf4j.Logger,ScmProviderAwareSshdSessionFactory> sshSessionFactorySupplier)
protected ListScmResult executeListCommand(ScmProviderRepository repo, ScmFileSet fileSet, boolean recursive, ScmVersion scmVersion) throws ScmException
AbstractListCommand
executeListCommand
in class AbstractListCommand
repo
- what to listfileSet
- the files to listrecursive
- whether list should return subfolder listingscmVersion
- TODOScmException
- if anyCopyright © 2003–2024 The Apache Software Foundation. All rights reserved.