Class SftpSupplierProperties

java.lang.Object
org.springframework.cloud.fn.supplier.sftp.SftpSupplierProperties

@ConfigurationProperties("sftp.supplier") @Validated public class SftpSupplierProperties extends Object
Author:
Gary Russell, Artem Bilan, Chris Schaefer, David Turanski, Corneil du Plessis
  • Constructor Details

    • SftpSupplierProperties

      public SftpSupplierProperties()
  • Method Details

    • getRemoteDir

      @NotBlank public @NotBlank String getRemoteDir()
    • setRemoteDir

      public void setRemoteDir(String remoteDir)
    • getTmpFileSuffix

      @NotBlank public @NotBlank String getTmpFileSuffix()
    • setTmpFileSuffix

      public void setTmpFileSuffix(String tmpFileSuffix)
    • getRemoteFileSeparator

      @NotBlank public @NotBlank String getRemoteFileSeparator()
    • setRemoteFileSeparator

      public void setRemoteFileSeparator(String remoteFileSeparator)
    • isAutoCreateLocalDir

      public boolean isAutoCreateLocalDir()
    • setAutoCreateLocalDir

      public void setAutoCreateLocalDir(boolean autoCreateLocalDir)
    • isDeleteRemoteFiles

      public boolean isDeleteRemoteFiles()
    • setDeleteRemoteFiles

      public void setDeleteRemoteFiles(boolean deleteRemoteFiles)
    • getRenameRemoteFilesTo

      public Expression getRenameRemoteFilesTo()
    • setRenameRemoteFilesTo

      public void setRenameRemoteFilesTo(Expression renameRemoteFilesTo)
    • getLocalDir

      @NotNull public @NotNull File getLocalDir()
    • setLocalDir

      public final void setLocalDir(File localDir)
    • getFilenamePattern

      public String getFilenamePattern()
    • setFilenamePattern

      public void setFilenamePattern(String filenamePattern)
    • getFilenameRegex

      public Pattern getFilenameRegex()
    • setFilenameRegex

      public void setFilenameRegex(Pattern filenameRegex)
    • isPreserveTimestamp

      public boolean isPreserveTimestamp()
    • setPreserveTimestamp

      public void setPreserveTimestamp(boolean preserveTimestamp)
    • isExclusivePatterns

      @AssertTrue(message="filenamePattern and filenameRegex are mutually exclusive") public @jakarta.validation.constraints.AssertTrue(message="filenamePattern and filenameRegex are mutually exclusive") boolean isExclusivePatterns()
    • isListOnly

      public boolean isListOnly()
    • setListOnly

      public void setListOnly(boolean listOnly)
    • isMultiSource

      public boolean isMultiSource()
    • getMaxFetch

      public int getMaxFetch()
    • setMaxFetch

      public void setMaxFetch(int maxFetch)
    • isFair

      public boolean isFair()
    • setFair

      public void setFair(boolean fair)
    • getFactories

      public Map<String,SftpSupplierProperties.Factory> getFactories()
    • setFactories

      public void setFactories(Map<String,SftpSupplierProperties.Factory> factories)
    • getDirectories

      public String[] getDirectories()
    • setDirectories

      public void setDirectories(String[] directories)
    • isStream

      public boolean isStream()
    • setStream

      public void setStream(boolean stream)
    • getFactory

      public SftpSupplierProperties.Factory getFactory()
    • getDelayWhenEmpty

      public Duration getDelayWhenEmpty()
    • setDelayWhenEmpty

      public void setDelayWhenEmpty(Duration delayWhenEmpty)
    • getSortBy

      @Valid public SftpSupplierProperties.SortSpec getSortBy()
    • setSortBy

      public void setSortBy(SftpSupplierProperties.SortSpec sortBy)
    • isRenameRemoteFilesValid

      @AssertTrue(message="deleteRemoteFiles must be \'false\' when renameRemoteFilesTo is set") public @jakarta.validation.constraints.AssertTrue(message="deleteRemoteFiles must be \'false\' when renameRemoteFilesTo is set") boolean isRenameRemoteFilesValid()