Class FileConsumerProperties
java.lang.Object
org.springframework.cloud.fn.consumer.file.FileConsumerProperties
@ConfigurationProperties("file.consumer")
@Validated
public class FileConsumerProperties
extends Object
Properties for the file sink.
- Author:
- Mark Fisher, Gary Russell
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.integration.file.support.FileExistsMode
getMode()
getName()
boolean
isBinary()
@jakarta.validation.constraints.AssertTrue(message="Exactly one of \'directory\' or \'directoryExpression\' must be set") boolean
@jakarta.validation.constraints.AssertTrue(message="Exactly one of \'name\' or \'nameExpression\' must be set") boolean
void
setBinary
(boolean binary) void
setCharset
(String charset) void
setDirectory
(File directory) void
setDirectoryExpression
(String directoryExpression) void
setMode
(org.springframework.integration.file.support.FileExistsMode mode) void
void
setNameExpression
(String nameExpression) void
-
Constructor Details
-
FileConsumerProperties
public FileConsumerProperties()
-
-
Method Details
-
isBinary
public boolean isBinary() -
setBinary
public void setBinary(boolean binary) -
getCharset
-
setCharset
-
getDirectory
-
setDirectory
-
getDirectoryExpression
-
setDirectoryExpression
-
getMode
public org.springframework.integration.file.support.FileExistsMode getMode() -
setMode
public void setMode(org.springframework.integration.file.support.FileExistsMode mode) -
getName
-
setName
-
getNameExpression
-
setNameExpression
-
getSuffix
-
setSuffix
-
isMutuallyExclusiveNameAndNameExpression
@AssertTrue(message="Exactly one of \'name\' or \'nameExpression\' must be set") public @jakarta.validation.constraints.AssertTrue(message="Exactly one of \'name\' or \'nameExpression\' must be set") boolean isMutuallyExclusiveNameAndNameExpression() -
isMutuallyExclusiveDirectoryAndDirectoryExpression
@AssertTrue(message="Exactly one of \'directory\' or \'directoryExpression\' must be set") public @jakarta.validation.constraints.AssertTrue(message="Exactly one of \'directory\' or \'directoryExpression\' must be set") boolean isMutuallyExclusiveDirectoryAndDirectoryExpression()
-