Class PersonalAccessTokenImpl.DescriptorImpl

java.lang.Object
hudson.model.Descriptor<com.cloudbees.plugins.credentials.Credentials>
com.cloudbees.plugins.credentials.CredentialsDescriptor
io.jenkins.plugins.gitlabserverconfig.credentials.PersonalAccessTokenImpl.DescriptorImpl
All Implemented Interfaces:
Saveable, Loadable, OnMaster, IconSpec
Enclosing class:
PersonalAccessTokenImpl

@Extension @Symbol("gitlabPersonalAccessToken") public static class PersonalAccessTokenImpl.DescriptorImpl extends com.cloudbees.plugins.credentials.CredentialsDescriptor
Our descriptor.
  • Constructor Details

    • DescriptorImpl

      public DescriptorImpl()
  • Method Details

    • getDisplayName

      @NonNull public String getDisplayName()
      Overrides:
      getDisplayName in class Descriptor<com.cloudbees.plugins.credentials.Credentials>
    • doCheckToken

      @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public FormValidation doCheckToken(@QueryParameter String value)
      Sanity check for a Gitlab access token.
      Parameters:
      value - the personal access token.
      Returns:
      the results of the sanity check.