public class GitCheckOutCommand extends AbstractCheckOutCommand implements GitCommand
Constructor and Description |
---|
GitCheckOutCommand() |
Modifier and Type | Method and Description |
---|---|
static Commandline |
createCommandLine(GitScmProviderRepository repository,
File workingDirectory,
ScmVersion version) |
protected CheckOutScmResult |
executeCheckOutCommand(ScmProviderRepository repo,
ScmFileSet fileSet,
ScmVersion version,
boolean recursive)
For git, the given repository is a remote one.
|
executeCheckOutCommand, executeCommand
execute, getLogger, setLogger
public GitCheckOutCommand()
protected CheckOutScmResult executeCheckOutCommand(ScmProviderRepository repo, ScmFileSet fileSet, ScmVersion version, boolean recursive) throws ScmException
executeCheckOutCommand
in class AbstractCheckOutCommand
repo
- not nullfileSet
- not nullversion
- not nullrecursive
- true
if recursive check out is wanted, false
otherwise.ScmException
- if anypublic static Commandline createCommandLine(GitScmProviderRepository repository, File workingDirectory, ScmVersion version)
Copyright © 2003–2015 The Apache Software Foundation. All rights reserved.