Class BapFtpHostConfiguration

java.lang.Object
jenkins.plugins.publish_over.BPHostConfiguration<BapFtpClient,Object>
jenkins.plugins.publish_over_ftp.BapFtpHostConfiguration
All Implemented Interfaces:
Describable<BapFtpHostConfiguration>, Serializable

public class BapFtpHostConfiguration extends jenkins.plugins.publish_over.BPHostConfiguration<BapFtpClient,Object> implements Describable<BapFtpHostConfiguration>
See Also:
  • Field Details

  • Constructor Details

    • BapFtpHostConfiguration

      @DataBoundConstructor public BapFtpHostConfiguration(String name, String hostname, String username, String encryptedPassword, String remoteRootDir, int port, int timeout, boolean useActiveData, String controlEncoding, boolean disableMakeNestedDirs, boolean disableRemoteVerification)
  • Method Details

    • setUseFtpOverTls

      @DataBoundSetter public void setUseFtpOverTls(boolean useFtpOverTls)
    • setUseImplicitTls

      @DataBoundSetter public void setUseImplicitTls(boolean useImplicitTls)
    • setTrustedCertificate

      @DataBoundSetter public void setTrustedCertificate(String trustedCertificate)
    • getPassword

      protected final String getPassword()
      Overrides:
      getPassword in class jenkins.plugins.publish_over.BPHostConfiguration<BapFtpClient,Object>
    • getTimeout

      public int getTimeout()
    • setTimeout

      public void setTimeout(int timeout)
    • isUseActiveData

      public boolean isUseActiveData()
    • setUseActiveData

      public void setUseActiveData(boolean useActiveData)
    • getControlEncoding

      public String getControlEncoding()
    • isDisableMakeNestedDirs

      public boolean isDisableMakeNestedDirs()
    • isDisableRemoteVerification

      public boolean isDisableRemoteVerification()
    • isUseFtpOverTls

      public boolean isUseFtpOverTls()
    • isUseImplicitTls

      public boolean isUseImplicitTls()
    • getTrustedCertificate

      public String getTrustedCertificate()
    • createClient

      public BapFtpClient createClient(jenkins.plugins.publish_over.BPBuildInfo buildInfo)
      Specified by:
      createClient in class jenkins.plugins.publish_over.BPHostConfiguration<BapFtpClient,Object>
    • createFTPClient

      public org.apache.commons.net.ftp.FTPClient createFTPClient() throws GeneralSecurityException, FileNotFoundException, IOException
      Throws:
      GeneralSecurityException
      FileNotFoundException
      IOException
    • getDescriptor

      public BapFtpHostConfigurationDescriptor getDescriptor()
      Specified by:
      getDescriptor in interface Describable<BapFtpHostConfiguration>
    • addToHashCode

      protected org.apache.commons.lang.builder.HashCodeBuilder addToHashCode(org.apache.commons.lang.builder.HashCodeBuilder builder)
      Overrides:
      addToHashCode in class jenkins.plugins.publish_over.BPHostConfiguration<BapFtpClient,Object>
    • addToEquals

      protected org.apache.commons.lang.builder.EqualsBuilder addToEquals(org.apache.commons.lang.builder.EqualsBuilder builder, BapFtpHostConfiguration that)
    • addToToString

      protected org.apache.commons.lang.builder.ToStringBuilder addToToString(org.apache.commons.lang.builder.ToStringBuilder builder)
      Overrides:
      addToToString in class jenkins.plugins.publish_over.BPHostConfiguration<BapFtpClient,Object>
    • equals

      public boolean equals(Object that)
      Overrides:
      equals in class jenkins.plugins.publish_over.BPHostConfiguration<BapFtpClient,Object>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class jenkins.plugins.publish_over.BPHostConfiguration<BapFtpClient,Object>
    • toString

      public String toString()
      Overrides:
      toString in class jenkins.plugins.publish_over.BPHostConfiguration<BapFtpClient,Object>
    • readResolve

      public Object readResolve()
      Overrides:
      readResolve in class jenkins.plugins.publish_over.BPHostConfiguration<BapFtpClient,Object>