Class BPTransfer

java.lang.Object
jenkins.plugins.publish_over.BPTransfer
All Implemented Interfaces:
Serializable

public class BPTransfer extends Object implements Serializable
See Also:
  • Constructor Details

    • BPTransfer

      public BPTransfer(String sourceFiles, String excludes, String remoteDirectory, String removePrefix, boolean remoteDirectorySDF, boolean flatten)
    • BPTransfer

      public BPTransfer(String sourceFiles, String excludes, String remoteDirectory, String removePrefix, boolean remoteDirectorySDF, boolean flatten, boolean cleanRemote, boolean noDefaultExcludes, boolean makeEmptyDirs, String patternSeparator)
  • Method Details

    • getRemoteDirectory

      public String getRemoteDirectory()
    • getSourceFiles

      public String getSourceFiles()
    • getExcludes

      public String getExcludes()
    • getRemovePrefix

      public String getRemovePrefix()
    • isRemoteDirectorySDF

      public boolean isRemoteDirectorySDF()
    • isFlatten

      public boolean isFlatten()
    • isCleanRemote

      public boolean isCleanRemote()
    • isNoDefaultExcludes

      public boolean isNoDefaultExcludes()
    • isMakeEmptyDirs

      public boolean isMakeEmptyDirs()
    • getPatternSeparator

      public String getPatternSeparator()
    • hasConfiguredSourceFiles

      public boolean hasConfiguredSourceFiles()
    • getSourceFiles

      public FileFinderResult getSourceFiles(BPBuildInfo buildInfo) throws IOException, InterruptedException
      Throws:
      IOException
      InterruptedException
    • transfer

      public int transfer(BPBuildInfo buildInfo, BPClient client) throws Exception
      Throws:
      Exception
    • transfer

      public int transfer(BPBuildInfo buildInfo, BPClient client, BPTransfer.TransferState state)
    • transferFile

      public void transferFile(BPClient client, FilePath filePath) throws Exception
      Throws:
      Exception
    • addToHashCode

      protected org.apache.commons.lang.builder.HashCodeBuilder addToHashCode(org.apache.commons.lang.builder.HashCodeBuilder builder)
    • addToEquals

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

      protected org.apache.commons.lang.builder.ToStringBuilder addToToString(org.apache.commons.lang.builder.ToStringBuilder builder)
    • equals

      public boolean equals(Object that)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object