public class JGitCheckOutCommand extends AbstractCheckOutCommand implements GitCommand
logger
Constructor and Description |
---|
JGitCheckOutCommand() |
Modifier and Type | Method and Description |
---|---|
protected CheckOutScmResult |
executeCheckOutCommand(ScmProviderRepository repo,
ScmFileSet fileSet,
ScmVersion version,
boolean recursive,
boolean shallow)
For git, the given repository is a remote one.
|
void |
setSshSessionFactorySupplier(BiFunction<GitScmProviderRepository,org.slf4j.Logger,ScmProviderAwareSshdSessionFactory> sshSessionFactorySupplier) |
executeCheckOutCommand, executeCommand
execute
public JGitCheckOutCommand()
public void setSshSessionFactorySupplier(BiFunction<GitScmProviderRepository,org.slf4j.Logger,ScmProviderAwareSshdSessionFactory> sshSessionFactorySupplier)
protected CheckOutScmResult executeCheckOutCommand(ScmProviderRepository repo, ScmFileSet fileSet, ScmVersion version, boolean recursive, boolean shallow) throws ScmException
Execute Check out command line.
executeCheckOutCommand
in class AbstractCheckOutCommand
repo
- not nullfileSet
- not nullversion
- not nullrecursive
- true
if recursive check out is wanted, false
otherwise.shallow
- true
if shallow check out is wanted, false
otherwise.ScmException
- if anyCopyright © 2003–2024 The Apache Software Foundation. All rights reserved.