Class GitLabConnection

java.lang.Object
hudson.model.AbstractDescribableImpl<GitLabConnection>
com.dabsquared.gitlabjenkins.connection.GitLabConnection
All Implemented Interfaces:
Describable<GitLabConnection>

public class GitLabConnection extends AbstractDescribableImpl<GitLabConnection>
Author:
Robin Müller
  • Constructor Details

    • GitLabConnection

      public GitLabConnection(String name, String url, String apiTokenId, boolean ignoreCertificateErrors, Integer connectionTimeout, Integer readTimeout)
    • GitLabConnection

      @DataBoundConstructor public GitLabConnection(String name, String url, String apiTokenId, String clientBuilderId, boolean ignoreCertificateErrors, Integer connectionTimeout, Integer readTimeout)
    • GitLabConnection

      @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public GitLabConnection(String name, String url, String apiTokenId, GitLabClientBuilder clientBuilder, boolean ignoreCertificateErrors, Integer connectionTimeout, Integer readTimeout)
  • Method Details

    • getName

      public String getName()
    • getUrl

      public String getUrl()
    • getApiTokenId

      public String getApiTokenId()
    • getClientBuilderId

      public String getClientBuilderId()
    • isIgnoreCertificateErrors

      public boolean isIgnoreCertificateErrors()
    • getConnectionTimeout

      public int getConnectionTimeout()
    • getReadTimeout

      public int getReadTimeout()
    • getClient

      public GitLabClient getClient(Item item, String jobCredentialId)
    • readResolve

      protected GitLabConnection readResolve()
    • migrate

      @Initializer(after=PLUGINS_STARTED) public static void migrate() throws IOException
      Throws:
      IOException