Class SshLaunchStrategy.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<AgentLaunchStrategy>
io.jenkins.plugins.namespacecloud.launcher.AgentLaunchStrategy.AgentLaunchStrategyDescriptor
io.jenkins.plugins.namespacecloud.launcher.SshLaunchStrategy.DescriptorImpl
- Enclosing class:
SshLaunchStrategy
@Extension
@Symbol("ssh")
public static class SshLaunchStrategy.DescriptorImpl
extends AgentLaunchStrategy.AgentLaunchStrategyDescriptor
-
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(String value) Reports the fingerprint of the key that will actually be injected.doFillCredentialsIdItems(Item item, String credentialsId) doFillImageItems(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<AgentLaunchStrategy>
-
doFillCredentialsIdItems
@POST public ListBoxModel doFillCredentialsIdItems(@AncestorInPath Item item, @QueryParameter String credentialsId) -
doFillImageItems
@POST public ComboBoxModel doFillImageItems(@RelativePath("../..") @QueryParameter String credentialsId) -
doCheckCredentialsId
Reports the fingerprint of the key that will actually be injected.Deriving it here means a key that cannot be read — wrong format, or a passphrase missing from the credential — is reported while the form is open, instead of as an agent that provisions and then never connects.
-