Class BapFtpPublisherPluginDescriptor

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

public class BapFtpPublisherPluginDescriptor extends BuildStepDescriptor<Publisher>
  • Constructor Details

    • BapFtpPublisherPluginDescriptor

      public BapFtpPublisherPluginDescriptor()
  • Method Details

    • getDefaults

      public FtpDefaults 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<BapFtpHostConfiguration> getHostConfigurations()
    • getConfiguration

      public BapFtpHostConfiguration getConfiguration(String name)
    • 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 BapFtpPublisherDescriptor getPublisherDescriptor()
    • getHostConfigurationDescriptor

      public BapFtpHostConfigurationDescriptor getHostConfigurationDescriptor()
    • getPluginDefaultsDescriptor

      public FtpPluginDefaults.FtpPluginDefaultsDescriptor 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(String name, String hostname, String username, String encryptedPassword, String remoteRootDir, int port, int timeout, boolean useActiveData, String controlEncoding, boolean disableMakeNestedDirs, boolean disableRemoteVerification, boolean useFtpOverTls, boolean useImplicitTls, String trustedCertificate)
    • validateConnection

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

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

      public Object readResolve()