Class SparseCheckoutPaths

    • Constructor Detail

      • SparseCheckoutPaths

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

      • 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
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object