Class SparseCheckoutPaths

All Implemented Interfaces:
Describable<GitSCMExtension>

public class SparseCheckoutPaths extends GitSCMExtension
  • Constructor Details

    • SparseCheckoutPaths

      @DataBoundConstructor public SparseCheckoutPaths(List<SparseCheckoutPath> sparseCheckoutPaths)
  • Method Details

    • getSparseCheckoutPaths

      public List<SparseCheckoutPath> getSparseCheckoutPaths()
    • decorateCloneCommand

      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
      Description copied from class: GitSCMExtension
      Called before a CloneCommand is executed to allow extensions to alter its behaviour.
      Overrides:
      decorateCloneCommand in class GitSCMExtension
      Parameters:
      scm - GitSCM object
      build - run context
      git - GitClient
      listener - build log
      cmd - clone command to be decorated
      Throws:
      IOException - on input or output error
      InterruptedException - when interrupted
      hudson.plugins.git.GitException - on git error
    • decorateCheckoutCommand

      public 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
      Description copied from class: GitSCMExtension
      Called before a CheckoutCommand is executed to allow extensions to alter its behaviour.
      Overrides:
      decorateCheckoutCommand in class GitSCMExtension
      Parameters:
      scm - GitSCM object
      build - run context
      git - GitClient
      listener - build log
      cmd - checkout command to be decorated
      Throws:
      IOException - on input or output error
      InterruptedException - when interrupted
      hudson.plugins.git.GitException - on git error
    • determineSupportForJGit

      public void determineSupportForJGit(GitSCM scm, @NonNull org.jenkinsci.plugins.gitclient.UnsupportedCommand cmd)
      Description copied from class: GitSCMExtension
      Called when support of JGit for a particular or multiple extensions is to be determined
      Overrides:
      determineSupportForJGit in class GitSCMExtension
      Parameters:
      scm - GitSCM object
      cmd - UnsupportedCommand object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object