Class FileSupplierProperties
java.lang.Object
org.springframework.cloud.fn.supplier.file.FileSupplierProperties
@ConfigurationProperties("file.supplier")
@Validated
public class FileSupplierProperties
extends Object
Properties for the file supplier.
- Author:
- Gary Russell, Artem Bilan, Soby Chacko
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
void
setDelayWhenEmpty
(Duration delayWhenEmpty) void
setDirectory
(File directory) void
setFilenamePattern
(String filenamePattern) void
setFilenameRegex
(Pattern filenameRegex) void
setPreventDuplicates
(boolean preventDuplicates)
-
Constructor Details
-
FileSupplierProperties
public FileSupplierProperties()
-
-
Method Details
-
getDirectory
-
setDirectory
-
isPreventDuplicates
public boolean isPreventDuplicates() -
setPreventDuplicates
public void setPreventDuplicates(boolean preventDuplicates) -
getFilenamePattern
-
setFilenamePattern
-
getFilenameRegex
-
setFilenameRegex
-
isExclusivePatterns
public boolean isExclusivePatterns() -
getDelayWhenEmpty
-
setDelayWhenEmpty
-