public interface SubmoduleUpdateCommand extends GitCommand
| Modifier and Type | Method and Description |
|---|---|
SubmoduleUpdateCommand |
depth(Integer depth)
When shallow cloning, allow for a depth to be set in cases where you need more than the immediate last commit.
|
SubmoduleUpdateCommand |
parentCredentials(boolean parentCredentials)
If set true and if the git version supports it, use the parent
repository credentials when performing a submodule update.
|
SubmoduleUpdateCommand |
recursive(boolean recursive)
If set true, submodule update will be recursive.
|
SubmoduleUpdateCommand |
ref(String ref)
ref.
|
SubmoduleUpdateCommand |
remoteTracking(boolean remoteTracking)
If set true and if the git version supports it, update the
submodules to the tip of the branch rather than to a specific
SHA1.
|
SubmoduleUpdateCommand |
shallow(boolean shallow)
Only clone the most recent history, not preceding history.
|
SubmoduleUpdateCommand |
threads(int threads)
Update submodules in parallel with the given number of threads.
|
SubmoduleUpdateCommand |
timeout(Integer timeout)
timeout.
|
SubmoduleUpdateCommand |
useBranch(String submodule,
String branchname)
useBranch.
|
executeSubmoduleUpdateCommand recursive(boolean recursive)
recursive - if true, will recursively update submodules (requires git>=1.6.5)SubmoduleUpdateCommand object.SubmoduleUpdateCommand remoteTracking(boolean remoteTracking)
remoteTracking - if true, will update the submodule to the tip of the branch requested (requires git>=1.8.2)SubmoduleUpdateCommand object.SubmoduleUpdateCommand parentCredentials(boolean parentCredentials)
parentCredentials - if true, will use the credentials of the parent project instead of credentials associated with its own URLSubmoduleUpdateCommand object.SubmoduleUpdateCommand ref(String ref)
ref - a String object.SubmoduleUpdateCommand object.SubmoduleUpdateCommand useBranch(String submodule, String branchname)
submodule - a String object.branchname - a String object.SubmoduleUpdateCommand object.SubmoduleUpdateCommand timeout(Integer timeout)
timeout - a Integer object.SubmoduleUpdateCommand object.SubmoduleUpdateCommand shallow(boolean shallow)
shallow - boolean controlling whether the clone is shallow (requires git>=1.8.4)SubmoduleUpdateCommand object.SubmoduleUpdateCommand depth(Integer depth)
depth - number of revisions to be included in shallow clone (requires git>=1.8.4)SubmoduleUpdateCommand object.SubmoduleUpdateCommand threads(int threads)
threads - number of threads to use for updating submodules in parallelSubmoduleUpdateCommand object.Copyright © 2013–2020. All rights reserved.