Class CreateOSCloud.DescriptorImpl

java.lang.Object
hudson.model.Descriptor<Cloud>
sh.createos.jenkins.sandbox.CreateOSCloud.DescriptorImpl
All Implemented Interfaces:
Saveable, Loadable, OnMaster
Enclosing class:
CreateOSCloud

@Extension public static class CreateOSCloud.DescriptorImpl extends Descriptor<Cloud>
Exposes CreateOS cloud metadata, options, and validation to Jenkins.
  • Constructor Details

    • DescriptorImpl

      public DescriptorImpl()
  • Method Details

    • getDisplayName

      public String getDisplayName()
      Overrides:
      getDisplayName in class Descriptor<Cloud>
    • doFillCredentialsIdItems

      @POST public ListBoxModel doFillCredentialsIdItems()
      Returns the secret-text credentials available to Jenkins administrators.
    • doCheckApiUrl

      @POST public FormValidation doCheckApiUrl(@QueryParameter String value)
      Validates that the configured API endpoint uses TLS, except for local test servers.
    • doTestConnection

      @POST public FormValidation doTestConnection(@QueryParameter String apiUrl, @QueryParameter String credentialsId)
      Tests the configured credential against the CreateOS API.