Class BapSshPublisherPluginDescriptor

java.lang.Object
hudson.model.Descriptor<T>
hudson.tasks.BuildStepDescriptor<Publisher>
jenkins.plugins.publish_over_ssh.descriptor.BapSshPublisherPluginDescriptor
All Implemented Interfaces:
Saveable, OnMaster
Direct Known Subclasses:
BapSshPublisherPlugin.Descriptor

public class BapSshPublisherPluginDescriptor extends BuildStepDescriptor<Publisher>
  • Constructor Details

    • BapSshPublisherPluginDescriptor

      public BapSshPublisherPluginDescriptor()
  • Method Details

    • getCommonConfig

      public BapSshCommonConfiguration getCommonConfig()
    • setCommonConfig

      public void setCommonConfig(BapSshCommonConfiguration commonConfig)
    • getDefaults

      public SshDefaults getDefaults()
    • getDisplayName

      public String getDisplayName()
      Overrides:
      getDisplayName in class Descriptor<Publisher>
    • isApplicable

      public boolean isApplicable(Class<? extends AbstractProject> aClass)
      Specified by:
      isApplicable in class BuildStepDescriptor<Publisher>
    • getHostConfigurations

      public List<BapSshHostConfiguration> getHostConfigurations()
    • getConfiguration

      public BapSshHostConfiguration getConfiguration(String name)
    • addHostConfiguration

      public void addHostConfiguration(BapSshHostConfiguration configuration)
      Add a Host Configuration to the list of configurations.
      Parameters:
      configuration - Host Configuration to add. The common configuration will be automatically set.
    • removeHostConfiguration

      public void removeHostConfiguration(String name)
      Removes the given named Host Configuration from the list of configurations.
      Parameters:
      name - The Name of the Host Configuration to remove.
    • configure

      public boolean configure(org.kohsuke.stapler.StaplerRequest request, net.sf.json.JSONObject formData)
      Overrides:
      configure in class Descriptor<Publisher>
    • canSetMasterNodeName

      public boolean canSetMasterNodeName()
    • getDefaultMasterNodeName

      public String getDefaultMasterNodeName()
    • isEnableOverrideDefaults

      public boolean isEnableOverrideDefaults()
    • getPublisherDescriptor

      public BapSshPublisherDescriptor getPublisherDescriptor()
    • getHostConfigurationDescriptor

      public BapSshHostConfigurationDescriptor getHostConfigurationDescriptor()
    • getPluginDefaultsDescriptor

      public SshPluginDefaults.SshPluginDefaultsDescriptor getPluginDefaultsDescriptor()
    • getCommonFieldNames

      public jenkins.plugins.publish_over.view_defaults.BPInstanceConfig.Messages getCommonFieldNames()
    • getCommonManageMessages

      public jenkins.plugins.publish_over.view_defaults.manage_jenkins.Messages getCommonManageMessages()
    • doTestConnection

      public FormValidation doTestConnection(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response)
    • validateConnection

      public static FormValidation validateConnection(BapSshHostConfiguration hostConfig, jenkins.plugins.publish_over.BPBuildInfo buildInfo)
    • createDummyBuildInfo

      public static jenkins.plugins.publish_over.BPBuildInfo createDummyBuildInfo()
    • readResolve

      public Object readResolve()