Class SshLaunchStrategy.DescriptorImpl

All Implemented Interfaces:
Saveable, Loadable, OnMaster
Enclosing class:
SshLaunchStrategy

@Extension @Symbol("ssh") public static class SshLaunchStrategy.DescriptorImpl extends AgentLaunchStrategy.AgentLaunchStrategyDescriptor
  • Constructor Details

    • DescriptorImpl

      public DescriptorImpl()
  • Method Details

    • getDisplayName

      @NonNull public String getDisplayName()
      Overrides:
      getDisplayName in class Descriptor<AgentLaunchStrategy>
    • doFillCredentialsIdItems

      @POST public ListBoxModel doFillCredentialsIdItems(@AncestorInPath Item item, @QueryParameter String credentialsId)
    • doFillImageItems

      @POST public ComboBoxModel doFillImageItems(@RelativePath("../..") @QueryParameter String credentialsId)
    • doCheckCredentialsId

      @POST public FormValidation doCheckCredentialsId(@QueryParameter String value)
      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.