Package hudson.plugins.ec2
Class SlaveTemplate.DescriptorImpl
- Enclosing class:
- SlaveTemplate
-
Nested Class Summary
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoCheckConnectionStrategy
(String connectionStrategy) doCheckDescription
(String value) doCheckHostKeyVerificationStrategy
(String hostKeyVerificationStrategy) doCheckInstanceCapStr
(String value) doCheckLabelString
(String value, Node.Mode mode) doCheckLaunchTimeoutStr
(String value) doCheckMaxTotalUses
(String value) doCheckMinimumNumberOfInstances
(String value, String instanceCapStr) doCheckMinimumNumberOfSpareInstances
(String value, String instanceCapStr) doCheckMonday
(boolean monday, boolean tuesday, boolean wednesday, boolean thursday, boolean friday, boolean saturday, boolean sunday) doCheckSpotMaxBidPrice
(String spotMaxBidPrice) doEbsEncryptRootVolume
(String ebsEncryptRootVolume) doFillConnectionStrategyItems
(String connectionStrategy) doFillEbsEncryptRootVolumeItems
(String ebsEncryptRootVolume) doFillHostKeyVerificationStrategyItems
(String hostKeyVerificationStrategy) doFillTenancyItems
(String tenancy) doFillZoneItems
(boolean useInstanceProfileForCredentials, String credentialsId, String region, String roleArn, String roleSessionName) doValidateAmi
(boolean useInstanceProfileForCredentials, String credentialsId, String ec2endpoint, String region, String ami, String roleArn, String roleSessionName) Check that the AMI requested is available in the cloud and can be used.getHelpFile
(String fieldName) Since this shares much of the configuration withEC2Computer
, check its help page, too.Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, configure, doHelp, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getStaticHelpUrl, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
getDisplayName
- Overrides:
getDisplayName
in classDescriptor<SlaveTemplate>
-
getAMITypeDescriptors
-
getHelpFile
Since this shares much of the configuration withEC2Computer
, check its help page, too.- Overrides:
getHelpFile
in classDescriptor<SlaveTemplate>
-
doCheckDescription
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) @POST public FormValidation doCheckDescription(@QueryParameter String value) -
doValidateAmi
public FormValidation doValidateAmi(@QueryParameter boolean useInstanceProfileForCredentials, @QueryParameter String credentialsId, @QueryParameter String ec2endpoint, @QueryParameter String region, @QueryParameter String ami, @QueryParameter String roleArn, @QueryParameter String roleSessionName) throws IOException Check that the AMI requested is available in the cloud and can be used.- Throws:
IOException
-
doCheckLabelString
@POST public FormValidation doCheckLabelString(@QueryParameter String value, @QueryParameter Node.Mode mode) -
doCheckIdleTerminationMinutes
-
doCheckMaxTotalUses
-
doCheckMinimumNumberOfInstances
@POST public FormValidation doCheckMinimumNumberOfInstances(@QueryParameter String value, @QueryParameter String instanceCapStr) -
doCheckMinimumNoInstancesActiveTimeRangeFrom
@POST public FormValidation doCheckMinimumNoInstancesActiveTimeRangeFrom(@QueryParameter String value) -
doCheckMinimumNoInstancesActiveTimeRangeTo
@POST public FormValidation doCheckMinimumNoInstancesActiveTimeRangeTo(@QueryParameter String value) -
doCheckMonday
@POST public FormValidation doCheckMonday(@QueryParameter boolean monday, @QueryParameter boolean tuesday, @QueryParameter boolean wednesday, @QueryParameter boolean thursday, @QueryParameter boolean friday, @QueryParameter boolean saturday, @QueryParameter boolean sunday) -
doCheckMinimumNumberOfSpareInstances
@POST public FormValidation doCheckMinimumNumberOfSpareInstances(@QueryParameter String value, @QueryParameter String instanceCapStr) -
doCheckInstanceCapStr
-
doCheckSpotBlockReservationDurationStr
-
doCheckLaunchTimeoutStr
-
doFillZoneItems
public ListBoxModel doFillZoneItems(@QueryParameter boolean useInstanceProfileForCredentials, @QueryParameter String credentialsId, @QueryParameter String region, @QueryParameter String roleArn, @QueryParameter String roleSessionName) throws IOException, jakarta.servlet.ServletException - Throws:
IOException
jakarta.servlet.ServletException
-
getDefaultTenancy
-
doCheckSpotMaxBidPrice
-
getDefaultConnectionStrategy
-
getNodePropertyDescriptors
-
doFillConnectionStrategyItems
-
doCheckConnectionStrategy
-
getDefaultHostKeyVerificationStrategy
-
doFillHostKeyVerificationStrategyItems
@POST public ListBoxModel doFillHostKeyVerificationStrategyItems(@QueryParameter String hostKeyVerificationStrategy) -
doCheckHostKeyVerificationStrategy
@POST public FormValidation doCheckHostKeyVerificationStrategy(@QueryParameter String hostKeyVerificationStrategy) -
doFillTenancyItems
-
getDefaultEbsEncryptRootVolume
-
doFillEbsEncryptRootVolumeItems
@POST public ListBoxModel doFillEbsEncryptRootVolumeItems(@QueryParameter String ebsEncryptRootVolume) -
doEbsEncryptRootVolume
-