Class vSphereCloud.DescriptorImpl

java.lang.Object
hudson.model.Descriptor<Cloud>
org.jenkinsci.plugins.vSphereCloud.DescriptorImpl
All Implemented Interfaces:
Saveable, Loadable, OnMaster
Enclosing class:
vSphereCloud

@Extension public static final class vSphereCloud.DescriptorImpl extends Descriptor<Cloud>
  • Field Details

    • hypervisors

      @Deprecated public final ConcurrentMap<String,vSphereCloud> hypervisors
      Deprecated.
      Legacy global config from before this plugin supported multiple, per-instance clouds; nothing reads it any more, kept only because it's still the historical map key type referenced by ancient config.xml files.
  • Constructor Details

    • DescriptorImpl

      public DescriptorImpl()
  • Method Details

    • getDisplayName

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

      public FormValidation doCheckVsDescription(@QueryParameter String value)
    • doCheckHostWeightFreeCpuMhz

      public FormValidation doCheckHostWeightFreeCpuMhz(@QueryParameter String value)
    • doCheckHostWeightFreeCpuPercent

      public FormValidation doCheckHostWeightFreeCpuPercent(@QueryParameter String value)
    • doCheckHostWeightFreeMemoryMB

      public FormValidation doCheckHostWeightFreeMemoryMB(@QueryParameter String value)
    • doCheckHostWeightFreeMemoryPercent

      public FormValidation doCheckHostWeightFreeMemoryPercent(@QueryParameter String value)
    • doCheckHostMinFreeCpuMhz

      public FormValidation doCheckHostMinFreeCpuMhz(@QueryParameter String value)
    • doCheckHostMinFreeCpuPercent

      public FormValidation doCheckHostMinFreeCpuPercent(@QueryParameter String value)
    • doCheckHostMinFreeMemoryMB

      public FormValidation doCheckHostMinFreeMemoryMB(@QueryParameter String value)
    • doCheckHostMinFreeMemoryPercent

      public FormValidation doCheckHostMinFreeMemoryPercent(@QueryParameter String value)
    • doCheckHostSelectionWaitSeconds

      public FormValidation doCheckHostSelectionWaitSeconds(@QueryParameter String value)
      0 for not waiting, -1 for waiting as long as it takes.
    • doCheckHostSelectionScoreDeviation

      @POST public FormValidation doCheckHostSelectionScoreDeviation(@QueryParameter String value)
      A number; negative means always the top host, above 1 any host at random.
    • doCheckMaxOnlineSlaves

      public FormValidation doCheckMaxOnlineSlaves(@QueryParameter String value)
    • doCheckInstanceCap

      public FormValidation doCheckInstanceCap(@QueryParameter String value)
    • doCheckPoolHealthCheckIntervalSecs

      public FormValidation doCheckPoolHealthCheckIntervalSecs(@QueryParameter String value)
    • doCheckSessionMaxAgeSecs

      public FormValidation doCheckSessionMaxAgeSecs(@QueryParameter String value)
    • doCheckSessionMaxUses

      public FormValidation doCheckSessionMaxUses(@QueryParameter String value)
    • doCheckPoolIdleTimeoutSecs

      public FormValidation doCheckPoolIdleTimeoutSecs(@QueryParameter String value)
    • doCheckMaintenanceMode

      public FormValidation doCheckMaintenanceMode(@QueryParameter boolean value)
    • doResetUsages

      @POST public FormValidation doResetUsages(@QueryParameter String name)
      Starts the agents of the cloud again as far as "Disconnect after Limited Builds" goes, as if they had not done any build. For when everything was restarted after an outage and the agents are known to be clean.
    • doFillHostSelectionModeItems

      public ListBoxModel doFillHostSelectionModeItems()