public class SparseCheckoutPaths extends GitSCMExtension
| Modifier and Type | Class and Description |
|---|---|
static class |
SparseCheckoutPaths.DescriptorImpl |
| Constructor and Description |
|---|
SparseCheckoutPaths(List<SparseCheckoutPath> sparseCheckoutPaths) |
| Modifier and Type | Method and Description |
|---|---|
void |
decorateCheckoutCommand(GitSCM scm,
Run<?,?> build,
org.jenkinsci.plugins.gitclient.GitClient git,
TaskListener listener,
org.jenkinsci.plugins.gitclient.CheckoutCommand cmd)
Called before a
CheckoutCommand is executed to allow extensions to alter its behaviour. |
void |
decorateCloneCommand(GitSCM scm,
Run<?,?> build,
org.jenkinsci.plugins.gitclient.GitClient git,
TaskListener listener,
org.jenkinsci.plugins.gitclient.CloneCommand cmd)
Called before a
CloneCommand is executed to allow extensions to alter its behaviour. |
void |
determineSupportForJGit(GitSCM scm,
org.jenkinsci.plugins.gitclient.UnsupportedCommand cmd)
Called when support of JGit for a particular or multiple extensions is to be determined
|
boolean |
equals(Object o) |
List<SparseCheckoutPath> |
getSparseCheckoutPaths() |
int |
hashCode() |
String |
toString() |
beforeCheckout, beforeCheckout, decorate, decorateCheckoutCommand, decorateCloneCommand, decorateFetchCommand, decorateFetchCommand, decorateMergeCommand, decorateMergeCommand, decorateRevisionToBuild, decorateRevisionToBuild, enableMultipleRevisionDetection, getDescriptor, getRequiredClient, getWorkingDirectory, getWorkingDirectory, isRevExcluded, onCheckoutCompleted, onCheckoutCompleted, onClean, populateEnvironmentVariables, requiresWorkspaceForPolling@DataBoundConstructor public SparseCheckoutPaths(List<SparseCheckoutPath> sparseCheckoutPaths)
public List<SparseCheckoutPath> getSparseCheckoutPaths()
public void decorateCloneCommand(GitSCM scm, Run<?,?> build, org.jenkinsci.plugins.gitclient.GitClient git, TaskListener listener, org.jenkinsci.plugins.gitclient.CloneCommand cmd) throws IOException, InterruptedException, hudson.plugins.git.GitException
GitSCMExtensionCloneCommand is executed to allow extensions to alter its behaviour.decorateCloneCommand in class GitSCMExtensionscm - GitSCM objectbuild - run contextgit - GitClientlistener - build logcmd - clone command to be decoratedIOException - on input or output errorInterruptedException - when interruptedhudson.plugins.git.GitException - on git errorpublic void decorateCheckoutCommand(GitSCM scm, Run<?,?> build, org.jenkinsci.plugins.gitclient.GitClient git, TaskListener listener, org.jenkinsci.plugins.gitclient.CheckoutCommand cmd) throws IOException, InterruptedException, hudson.plugins.git.GitException
GitSCMExtensionCheckoutCommand is executed to allow extensions to alter its behaviour.decorateCheckoutCommand in class GitSCMExtensionscm - GitSCM objectbuild - run contextgit - GitClientlistener - build logcmd - checkout command to be decoratedIOException - on input or output errorInterruptedException - when interruptedhudson.plugins.git.GitException - on git errorpublic void determineSupportForJGit(GitSCM scm, @NonNull org.jenkinsci.plugins.gitclient.UnsupportedCommand cmd)
GitSCMExtensiondetermineSupportForJGit in class GitSCMExtensionscm - GitSCM objectcmd - UnsupportedCommand objectCopyright © 2007–2021. All rights reserved.