Package io.jenkins.plugins.swarmcloud
Class SwarmCloud.DescriptorImpl
- Enclosing class:
SwarmCloud
@Extension
@Symbol("swarmAgentsCloud")
public static class SwarmCloud.DescriptorImpl
extends Descriptor<Cloud>
-
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 TypeMethodDescriptiondoCheckCredentialsId(Item item, String value, String dockerHost) Validates the selected credentials.doFillCredentialsIdItems(Item item, String dockerHost, String credentialsId) Fills the credentials dropdown with available Docker server credentials.doTestConnection(String dockerHost, String credentialsId) 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, 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:
getDisplayNamein classDescriptor<Cloud>
-
doTestConnection
@POST public FormValidation doTestConnection(@QueryParameter("dockerHost") String dockerHost, @QueryParameter("credentialsId") String credentialsId) -
doFillCredentialsIdItems
@POST public ListBoxModel doFillCredentialsIdItems(@AncestorInPath Item item, @QueryParameter String dockerHost, @QueryParameter String credentialsId) Fills the credentials dropdown with available Docker server credentials.- Parameters:
dockerHost- The Docker host URL for domain requirementscredentialsId- Current credentials ID value- Returns:
- ListBoxModel with available credentials
-
doCheckCredentialsId
@POST public FormValidation doCheckCredentialsId(@AncestorInPath Item item, @QueryParameter String value, @QueryParameter String dockerHost) Validates the selected credentials.
-