Class SlaveOptionsDescriptor

java.lang.Object
hudson.model.Descriptor<DESCRIBABLE>
jenkins.plugins.openstack.compute.OsAuthDescriptor<SlaveOptions>
jenkins.plugins.openstack.compute.SlaveOptionsDescriptor
All Implemented Interfaces:
Saveable, OnMaster

@Extension @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public final class SlaveOptionsDescriptor extends OsAuthDescriptor<SlaveOptions>
Author:
ogondza.
  • Field Details

  • Constructor Details

    • SlaveOptionsDescriptor

      public SlaveOptionsDescriptor()
  • Method Details

    • getDisplayName

      public String getDisplayName()
      Overrides:
      getDisplayName in class Descriptor<SlaveOptions>
    • doCheckInstanceCap

      @Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) public FormValidation doCheckInstanceCap(@QueryParameter String value, @RelativePath("../../slaveOptions") @QueryParameter("instanceCap") String def)
    • doCheckInstancesMin

      @Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) public FormValidation doCheckInstancesMin(@QueryParameter String value, @RelativePath("../../slaveOptions") @QueryParameter("instancesMin") String def)
    • doCheckStartTimeout

      @Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) public FormValidation doCheckStartTimeout(@QueryParameter String value, @RelativePath("../../slaveOptions") @QueryParameter("startTimeout") String def)
    • doCheckNumExecutors

      @Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) public FormValidation doCheckNumExecutors(@QueryParameter String value, @RelativePath("../../slaveOptions") @QueryParameter("numExecutors") String def)
    • doCheckRetentionTime

      @Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) public FormValidation doCheckRetentionTime(@QueryParameter String value, @RelativePath("../../slaveOptions") @QueryParameter("retentionTime") String def)
    • doFillFloatingIpPoolItems

      @Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) public ListBoxModel doFillFloatingIpPoolItems(@QueryParameter String floatingIpPool, @QueryParameter String endPointUrl, @QueryParameter boolean ignoreSsl, @QueryParameter String credentialsId, @QueryParameter String zone)
    • doCheckFloatingIpPool

      @Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) public FormValidation doCheckFloatingIpPool(@QueryParameter String value, @RelativePath("../../slaveOptions") @QueryParameter("floatingIpPool") String def)
    • doFillHardwareIdItems

      @Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) public ListBoxModel doFillHardwareIdItems(@QueryParameter String hardwareId, @QueryParameter String endPointUrl, @QueryParameter boolean ignoreSsl, @QueryParameter String credentialsId, @QueryParameter String zone)
    • doCheckHardwareId

      @Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) public FormValidation doCheckHardwareId(@QueryParameter String value, @RelativePath("../../slaveOptions") @QueryParameter("hardwareId") String def)
    • doCheckNetworkId

      @Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) public FormValidation doCheckNetworkId(@QueryParameter String value, @RelativePath("../../slaveOptions") @QueryParameter("networkId") String def, @RelativePath("..") @QueryParameter("endPointUrl") String endPointUrlCloud, @RelativePath("..") @QueryParameter("ignoreSsl") boolean ignoreSsl, @RelativePath("../..") @QueryParameter("endPointUrl") String endPointUrlTemplate, @RelativePath("..") @QueryParameter("credentialsId") String credentialsIdCloud, @RelativePath("../..") @QueryParameter("credentialsId") String credentialsIdTemplate, @RelativePath("..") @QueryParameter("zone") String zoneCloud, @RelativePath("../..") @QueryParameter("zone") String zoneTemplate)
    • doFillUserDataIdItems

      @Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) public ListBoxModel doFillUserDataIdItems()
    • doCheckUserDataId

      @Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) public FormValidation doCheckUserDataId(@QueryParameter String value, @RelativePath("../../slaveOptions") @QueryParameter("userDataId") String def)
    • doFillConfigDriveItems

      @Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) public ListBoxModel doFillConfigDriveItems(@QueryParameter String value, @RelativePath("../../slaveOptions") @QueryParameter("configDrive") String def)
    • doCheckSecurityGroups

      @Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) public FormValidation doCheckSecurityGroups(@QueryParameter String value, @RelativePath("../../slaveOptions") @QueryParameter("securityGroups") String def)
    • doFillAvailabilityZoneItems

      @Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) public ComboBoxModel doFillAvailabilityZoneItems(@QueryParameter String availabilityZone, @QueryParameter String endPointUrl, @QueryParameter boolean ignoreSsl, @QueryParameter String credentialsId, @QueryParameter String zone)
    • doCheckAvailabilityZone

      @Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) public FormValidation doCheckAvailabilityZone(@QueryParameter String value, @RelativePath("../../slaveOptions") @QueryParameter("availabilityZone") String def, @RelativePath("..") @QueryParameter("endPointUrl") String endPointUrlCloud, @RelativePath("..") @QueryParameter("ignoreSsl") boolean ignoreSsl, @RelativePath("../..") @QueryParameter("endPointUrl") String endPointUrlTemplate, @RelativePath("..") @QueryParameter("credentialsId") String credentialsIdCloud, @RelativePath("../..") @QueryParameter("credentialsId") String credentialsIdTemplate, @RelativePath("..") @QueryParameter("zone") String zoneCloud, @RelativePath("../..") @QueryParameter("zone") String zoneTemplate)
    • doFillKeyPairNameItems

      @Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) public ListBoxModel doFillKeyPairNameItems(@QueryParameter String keyPairName, @QueryParameter String endPointUrl, @QueryParameter boolean ignoreSsl, @QueryParameter String credentialsId, @QueryParameter String zone)
    • doCheckKeyPairName

      @Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) public FormValidation doCheckKeyPairName(@QueryParameter String value, @RelativePath("../../slaveOptions") @QueryParameter("keyPairName") String def)
    • doCheckJvmOptions

      @Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) public FormValidation doCheckJvmOptions(@QueryParameter String value, @RelativePath("../../slaveOptions") @QueryParameter("jvmOptions") String def)
    • doCheckFsRoot

      @Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) public FormValidation doCheckFsRoot(@QueryParameter String value, @RelativePath("../../slaveOptions") @QueryParameter("fsRoot") String def)
    • getAuthFieldsOffsets

      public List<String> getAuthFieldsOffsets()
      Description copied from class: OsAuthDescriptor
      Get relative fillDependsOn offsets to apply.
      Specified by:
      getAuthFieldsOffsets in class OsAuthDescriptor<SlaveOptions>
    • getNodePropertiesDescriptors

      @Nonnull @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public List<NodePropertyDescriptor> getNodePropertiesDescriptors()
      Returns the list of NodePropertyDescriptor appropriate for the JCloudsSlaves that are created from these options.
      Returns:
      the filtered list
    • newInstance

      @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public SlaveOptions newInstance(@Nullable org.kohsuke.stapler.StaplerRequest req, @Nonnull net.sf.json.JSONObject formData) throws Descriptor.FormException
      Overrides:
      newInstance in class Descriptor<SlaveOptions>
      Throws:
      Descriptor.FormException