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
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionString[]
@NotNull File
int
@NotBlank String
@NotBlank String
@NotBlank String
boolean
boolean
@jakarta.validation.constraints.AssertTrue(message="filenamePattern and filenameRegex are mutually exclusive") boolean
boolean
isFair()
boolean
boolean
boolean
@jakarta.validation.constraints.AssertTrue(message="deleteRemoteFiles must be \'false\' when renameRemoteFilesTo is set") boolean
boolean
isStream()
void
setAutoCreateLocalDir
(boolean autoCreateLocalDir) void
setDelayWhenEmpty
(Duration delayWhenEmpty) void
setDeleteRemoteFiles
(boolean deleteRemoteFiles) void
setDirectories
(String[] directories) void
setFactories
(Map<String, SftpSupplierProperties.Factory> factories) void
setFair
(boolean fair) void
setFilenamePattern
(String filenamePattern) void
setFilenameRegex
(Pattern filenameRegex) void
setListOnly
(boolean listOnly) final void
setLocalDir
(File localDir) void
setMaxFetch
(int maxFetch) void
setPreserveTimestamp
(boolean preserveTimestamp) void
setRemoteDir
(String remoteDir) void
setRemoteFileSeparator
(String remoteFileSeparator) void
setRenameRemoteFilesTo
(Expression renameRemoteFilesTo) void
void
setStream
(boolean stream) void
setTmpFileSuffix
(String tmpFileSuffix)
-
Constructor Details
-
SftpSupplierProperties
public SftpSupplierProperties()
-
-
Method Details
-
getRemoteDir
-
setRemoteDir
-
getTmpFileSuffix
-
setTmpFileSuffix
-
getRemoteFileSeparator
-
setRemoteFileSeparator
-
isAutoCreateLocalDir
public boolean isAutoCreateLocalDir() -
setAutoCreateLocalDir
public void setAutoCreateLocalDir(boolean autoCreateLocalDir) -
isDeleteRemoteFiles
public boolean isDeleteRemoteFiles() -
setDeleteRemoteFiles
public void setDeleteRemoteFiles(boolean deleteRemoteFiles) -
getRenameRemoteFilesTo
-
setRenameRemoteFilesTo
-
getLocalDir
-
setLocalDir
-
getFilenamePattern
-
setFilenamePattern
-
getFilenameRegex
-
setFilenameRegex
-
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
-
setFactories
-
getDirectories
-
setDirectories
-
isStream
public boolean isStream() -
setStream
public void setStream(boolean stream) -
getFactory
-
getDelayWhenEmpty
-
setDelayWhenEmpty
-
getSortBy
-
setSortBy
-
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()
-