Class SlaveTemplate.DescriptorImpl

    • Constructor Detail

      • DescriptorImpl

        public DescriptorImpl()
    • Method Detail

      • 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
      • doCheckIdleTerminationMinutes

        @POST
        public FormValidation doCheckIdleTerminationMinutes​(@QueryParameter
                                                            String value)
      • doCheckMaxTotalUses

        @POST
        public FormValidation doCheckMaxTotalUses​(@QueryParameter
                                                  String value)
      • 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

        @POST
        public FormValidation doCheckInstanceCapStr​(@QueryParameter
                                                    String value)
      • doCheckSpotBlockReservationDurationStr

        @POST
        public FormValidation doCheckSpotBlockReservationDurationStr​(@QueryParameter
                                                                     String value)
      • doCheckLaunchTimeoutStr

        @POST
        public FormValidation doCheckLaunchTimeoutStr​(@QueryParameter
                                                      String value)
      • doFillZoneItems

        public ListBoxModel doFillZoneItems​(@QueryParameter
                                            boolean useInstanceProfileForCredentials,
                                            @QueryParameter
                                            String credentialsId,
                                            @QueryParameter
                                            String region,
                                            @QueryParameter
                                            String roleArn,
                                            @QueryParameter
                                            String roleSessionName)
                                     throws IOException,
                                            javax.servlet.ServletException
        Throws:
        IOException
        javax.servlet.ServletException
      • getDefaultTenancy

        public String getDefaultTenancy()
      • doCheckSpotMaxBidPrice

        @POST
        public FormValidation doCheckSpotMaxBidPrice​(@QueryParameter
                                                     String spotMaxBidPrice)
      • getDefaultConnectionStrategy

        public String getDefaultConnectionStrategy()
      • doFillConnectionStrategyItems

        @POST
        public ListBoxModel doFillConnectionStrategyItems​(@QueryParameter
                                                          String connectionStrategy)
      • doCheckConnectionStrategy

        @POST
        public FormValidation doCheckConnectionStrategy​(@QueryParameter
                                                        String connectionStrategy)
      • getDefaultHostKeyVerificationStrategy

        public String getDefaultHostKeyVerificationStrategy()
      • doFillHostKeyVerificationStrategyItems

        @POST
        public ListBoxModel doFillHostKeyVerificationStrategyItems​(@QueryParameter
                                                                   String hostKeyVerificationStrategy)
      • doCheckHostKeyVerificationStrategy

        @POST
        public FormValidation doCheckHostKeyVerificationStrategy​(@QueryParameter
                                                                 String hostKeyVerificationStrategy)
      • doFillTenancyItems

        @POST
        public ListBoxModel doFillTenancyItems​(@QueryParameter
                                               String tenancy)
      • getDefaultEbsEncryptRootVolume

        public String getDefaultEbsEncryptRootVolume()
      • doFillEbsEncryptRootVolumeItems

        @POST
        public ListBoxModel doFillEbsEncryptRootVolumeItems​(@QueryParameter
                                                            String ebsEncryptRootVolume)
      • doEbsEncryptRootVolume

        @POST
        public FormValidation doEbsEncryptRootVolume​(@QueryParameter
                                                     String ebsEncryptRootVolume)