Class SlaveOptionsDescriptor
java.lang.Object
hudson.model.Descriptor<DESCRIBABLE>
jenkins.plugins.openstack.compute.OsAuthDescriptor<SlaveOptions>
jenkins.plugins.openstack.compute.SlaveOptionsDescriptor
@Extension
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
public final class SlaveOptionsDescriptor
extends OsAuthDescriptor<SlaveOptions>
- Author:
- ogondza.
-
Nested Class Summary
Nested classes/interfaces inherited from class jenkins.plugins.openstack.compute.OsAuthDescriptor
OsAuthDescriptor.InjectOsAuth
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
Field Summary
Fields inherited from class hudson.model.Descriptor
clazz
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondoCheckAvailabilityZone
(String value, String def, String endPointUrlCloud, boolean ignoreSsl, String endPointUrlTemplate, String credentialsIdCloud, String credentialsIdTemplate, String zoneCloud, String zoneTemplate) doCheckFloatingIpPool
(String value, String def) doCheckFsRoot
(String value, String def) doCheckHardwareId
(String value, String def) doCheckInstanceCap
(String value, String def) doCheckInstancesMin
(String value, String def) doCheckJvmOptions
(String value, String def) doCheckKeyPairName
(String value, String def) doCheckNetworkId
(String value, String def, String endPointUrlCloud, boolean ignoreSsl, String endPointUrlTemplate, String credentialsIdCloud, String credentialsIdTemplate, String zoneCloud, String zoneTemplate) doCheckNumExecutors
(String value, String def) doCheckRetentionTime
(String value, String def) doCheckSecurityGroups
(String value, String def) doCheckStartTimeout
(String value, String def) doCheckUserDataId
(String value, String def) doFillAvailabilityZoneItems
(String availabilityZone, String endPointUrl, boolean ignoreSsl, String credentialsId, String zone) doFillConfigDriveItems
(String value, String def) doFillFloatingIpPoolItems
(String floatingIpPool, String endPointUrl, boolean ignoreSsl, String credentialsId, String zone) doFillHardwareIdItems
(String hardwareId, String endPointUrl, boolean ignoreSsl, String credentialsId, String zone) doFillKeyPairNameItems
(String keyPairName, String endPointUrl, boolean ignoreSsl, String credentialsId, String zone) Get relativefillDependsOn
offsets to apply.Returns the list ofNodePropertyDescriptor
appropriate for theJCloudsSlave
s that are created from these options.newInstance
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) Methods inherited from class jenkins.plugins.openstack.compute.OsAuthDescriptor
calcFillSettings, getDefault, hasValue, haveAuthDetails
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, configure, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Field Details
-
OK
-
REQUIRED
-
-
Constructor Details
-
SlaveOptionsDescriptor
public SlaveOptionsDescriptor()
-
-
Method Details
-
getDisplayName
- Overrides:
getDisplayName
in classDescriptor<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
Description copied from class:OsAuthDescriptor
Get relativefillDependsOn
offsets to apply.- Specified by:
getAuthFieldsOffsets
in classOsAuthDescriptor<SlaveOptions>
-
getNodePropertiesDescriptors
@Nonnull @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public List<NodePropertyDescriptor> getNodePropertiesDescriptors()Returns the list ofNodePropertyDescriptor
appropriate for theJCloudsSlave
s 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 classDescriptor<SlaveOptions>
- Throws:
Descriptor.FormException
-