Package hudson.plugins.octopusdeploy
Class AbstractOctopusDeployRecorderBuildStep.AbstractOctopusDeployDescriptorImplStep
- java.lang.Object
-
- hudson.model.Descriptor<T>
-
- hudson.tasks.BuildStepDescriptor<hudson.tasks.Builder>
-
- hudson.plugins.octopusdeploy.AbstractOctopusDeployRecorderBuildStep.AbstractOctopusDeployDescriptorImplStep
-
- All Implemented Interfaces:
hudson.model.Saveable
,jenkins.util.io.OnMaster
- Direct Known Subclasses:
OctopusDeployPackRecorder.DescriptorImpl
,OctopusDeployPushBuildInformationRecorder.DescriptorImpl
,OctopusDeployPushRecorder.DescriptorImpl
- Enclosing class:
- AbstractOctopusDeployRecorderBuildStep
public abstract static class AbstractOctopusDeployRecorderBuildStep.AbstractOctopusDeployDescriptorImplStep extends hudson.tasks.BuildStepDescriptor<hudson.tasks.Builder>
-
-
Constructor Summary
Constructors Constructor Description AbstractOctopusDeployDescriptorImplStep()
-
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.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
-
-
-
-
Method Detail
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws hudson.model.Descriptor.FormException
- Overrides:
configure
in classhudson.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)
-
-