Class GiteaServer.DescriptorImpl

java.lang.Object
hudson.model.Descriptor<GiteaServer>
org.jenkinsci.plugin.gitea.servers.GiteaServer.DescriptorImpl
All Implemented Interfaces:
Saveable, Loadable, OnMaster
Enclosing class:
GiteaServer

@Extension public static class GiteaServer.DescriptorImpl extends Descriptor<GiteaServer>
Our descriptor.
  • Constructor Details

    • DescriptorImpl

      public DescriptorImpl()
  • Method Details

    • doCheckServerUrl

      public static FormValidation doCheckServerUrl(@QueryParameter String value)
      Checks that the supplied URL is valid.
      Parameters:
      value - the URL to check.
      Returns:
      the validation results.
    • doCheckAliasUrl

      public static FormValidation doCheckAliasUrl(@QueryParameter String value)
      Checks that the supplied URL is valid.
      Parameters:
      value - the URL to check.
      Returns:
      the validation results.
    • getDisplayName

      @Nonnull public String getDisplayName()
      Overrides:
      getDisplayName in class Descriptor<GiteaServer>
    • doFillCredentialsIdItems

      @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public ListBoxModel doFillCredentialsIdItems(@QueryParameter String serverUrl)
      Stapler form completion.
      Parameters:
      serverUrl - the server URL.
      Returns:
      the available credentials.
    • doCheckCredentialsId

      public FormValidation doCheckCredentialsId(@QueryParameter String serverUrl, @QueryParameter String value)