public class GitUpdateCommand extends AbstractUpdateCommand implements GitCommand
| Constructor and Description | 
|---|
GitUpdateCommand()  | 
| Modifier and Type | Method and Description | 
|---|---|
static Commandline | 
createCommandLine(GitScmProviderRepository repository,
                                  File workingDirectory,
                                  ScmVersion scmVersion)
create the command line for updating the current branch with the info from the foreign repository. 
 | 
static Commandline | 
createLatestRevisionCommandLine(GitScmProviderRepository repository,
                                                              File workingDirectory,
                                                              ScmVersion scmVersion)  | 
protected UpdateScmResult | 
executeUpdateCommand(ScmProviderRepository repo,
                                        ScmFileSet fileSet,
                                        ScmVersion scmVersion) | 
protected ChangeLogCommand | 
getChangeLogCommand() | 
executeCommandexecute, getLogger, setLoggerpublic GitUpdateCommand()
protected UpdateScmResult executeUpdateCommand(ScmProviderRepository repo, ScmFileSet fileSet, ScmVersion scmVersion) throws ScmException
executeUpdateCommand in class AbstractUpdateCommandScmExceptionprotected ChangeLogCommand getChangeLogCommand()
getChangeLogCommand in class AbstractUpdateCommandpublic static Commandline createCommandLine(GitScmProviderRepository repository, File workingDirectory, ScmVersion scmVersion)
public static Commandline createLatestRevisionCommandLine(GitScmProviderRepository repository, File workingDirectory, ScmVersion scmVersion)
scmVersion - a valid branch or null if the master branch should be takenCopyright © 2003–2018 The Apache Software Foundation. All rights reserved.