Class JGitListCommand
java.lang.Object
org.apache.maven.scm.command.AbstractCommand
org.apache.maven.scm.command.list.AbstractListCommand
org.apache.maven.scm.provider.git.jgit.command.list.JGitListCommand
- All Implemented Interfaces:
Command
,GitCommand
- Since:
- 1.9
- Author:
- Dominik Bartholdi (imod)
-
Field Summary
Fields inherited from class org.apache.maven.scm.command.AbstractCommand
logger
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected ListScmResult
executeListCommand
(ScmProviderRepository repo, ScmFileSet fileSet, boolean recursive, ScmVersion scmVersion) List contents of the remote repositoryvoid
setSshSessionFactorySupplier
(BiFunction<GitScmProviderRepository, org.slf4j.Logger, ScmProviderAwareSshdSessionFactory> sshSessionFactorySupplier) Methods inherited from class org.apache.maven.scm.command.list.AbstractListCommand
executeCommand
Methods inherited from class org.apache.maven.scm.command.AbstractCommand
execute
-
Constructor Details
-
JGitListCommand
public JGitListCommand()
-
-
Method Details
-
setSshSessionFactorySupplier
public void setSshSessionFactorySupplier(BiFunction<GitScmProviderRepository, org.slf4j.Logger, ScmProviderAwareSshdSessionFactory> sshSessionFactorySupplier) -
executeListCommand
protected ListScmResult executeListCommand(ScmProviderRepository repo, ScmFileSet fileSet, boolean recursive, ScmVersion scmVersion) throws ScmException Description copied from class:AbstractListCommand
List contents of the remote repository- Specified by:
executeListCommand
in classAbstractListCommand
- Parameters:
repo
- what to listfileSet
- the files to listrecursive
- whether list should return subfolder listingscmVersion
- TODO- Returns:
- the list of files
- Throws:
ScmException
- if any
-