Class AbstractOctopusDeployRecorderBuildStep.AbstractOctopusDeployDescriptorImplStep

    • Nested Class Summary

      • Nested classes/interfaces inherited from class hudson.model.Descriptor

        hudson.model.Descriptor.FormException, hudson.model.Descriptor.PropertyType, hudson.model.Descriptor.Self
    • Field Summary

      • Fields inherited from class hudson.model.Descriptor

        clazz
      • Fields inherited from interface hudson.model.Saveable

        NOOP
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean configure​(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)  
      hudson.util.FormValidation doCheckServerId​(java.lang.String serverId)
      Check that the serverId field is not empty and does exist.
      hudson.util.ComboBoxModel doFillServerIdItems()
      Data binding that returns all configured Octopus server ids to be used in the serverId drop-down list.
      hudson.util.ListBoxModel doFillSpaceIdItems​(java.lang.String serverId)  
      hudson.util.ComboBoxModel doFillToolIdItems()  
      protected OctopusApi getApiByServerId​(java.lang.String serverId)  
      java.lang.String getDefaultOctopusDeployServerId()  
      java.lang.String getDefaultOctopusToolId()  
      • Methods inherited from class hudson.tasks.BuildStepDescriptor

        filter, isApplicable
      • Methods inherited from class hudson.model.Descriptor

        addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getDisplayName, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AbstractOctopusDeployDescriptorImplStep

        public AbstractOctopusDeployDescriptorImplStep()
    • Method Detail

      • configure

        public boolean configure​(org.kohsuke.stapler.StaplerRequest req,
                                 net.sf.json.JSONObject formData)
                          throws hudson.model.Descriptor.FormException
        Overrides:
        configure in class hudson.model.Descriptor<hudson.tasks.Builder>
        Throws:
        hudson.model.Descriptor.FormException
      • getApiByServerId

        protected OctopusApi getApiByServerId​(java.lang.String serverId)
      • getDefaultOctopusDeployServerId

        public java.lang.String getDefaultOctopusDeployServerId()
      • getDefaultOctopusToolId

        public java.lang.String getDefaultOctopusToolId()
      • doCheckServerId

        public hudson.util.FormValidation doCheckServerId​(@QueryParameter
                                                          java.lang.String serverId)
        Check that the serverId field is not empty and does exist.
        Parameters:
        serverId - The id of OctopusDeployServer in the configuration.
        Returns:
        Ok if not empty, error otherwise.
      • doFillServerIdItems

        public hudson.util.ComboBoxModel doFillServerIdItems()
        Data binding that returns all configured Octopus server ids to be used in the serverId drop-down list.
        Returns:
        ComboBoxModel
      • doFillToolIdItems

        public hudson.util.ComboBoxModel doFillToolIdItems()
      • doFillSpaceIdItems

        public hudson.util.ListBoxModel doFillSpaceIdItems​(@QueryParameter
                                                           java.lang.String serverId)