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,
boolean shallow)
The overriden
executeCommand(ScmProviderRepository, ScmFileSet, CommandParameters) in this class will
not call this method! |
ScmResult |
executeCommand(ScmProviderRepository repo,
ScmFileSet fileSet,
CommandParameters parameters)
For git, the given repository is a remote one.
|
executeCheckOutCommand
execute, getLogger, setLogger
public GitCheckOutCommand()
public ScmResult executeCommand(ScmProviderRepository repo, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
executeCommand
in class AbstractCheckOutCommand
ScmException
public static Commandline createCommandLine(GitScmProviderRepository repository, File workingDirectory, ScmVersion version)
protected CheckOutScmResult executeCheckOutCommand(ScmProviderRepository repo, ScmFileSet fileSet, ScmVersion version, boolean recursive, boolean shallow) throws ScmException
executeCommand(ScmProviderRepository, ScmFileSet, CommandParameters)
in this class will
not call this method!
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–2019 The Apache Software Foundation. All rights reserved.