@ConfigurationProperties(value="file.consumer") @Validated public class FileConsumerProperties extends Object
Constructor and Description |
---|
FileConsumerProperties() |
Modifier and Type | Method and Description |
---|---|
String |
getCharset() |
File |
getDirectory() |
String |
getDirectoryExpression() |
org.springframework.integration.file.support.FileExistsMode |
getMode() |
String |
getName() |
String |
getNameExpression() |
String |
getSuffix() |
boolean |
isBinary() |
@AssertTrue(message="Exactly one of \'directory\' or \'directoryExpression\' must be set") boolean |
isMutuallyExclusiveDirectoryAndDirectoryExpression() |
@AssertTrue(message="Exactly one of \'name\' or \'nameExpression\' must be set") boolean |
isMutuallyExclusiveNameAndNameExpression() |
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 |
setName(String name) |
void |
setNameExpression(String nameExpression) |
void |
setSuffix(String suffix) |
public boolean isBinary()
public void setBinary(boolean binary)
public String getCharset()
public void setCharset(String charset)
public File getDirectory()
public void setDirectory(File directory)
public String getDirectoryExpression()
public void setDirectoryExpression(String directoryExpression)
public org.springframework.integration.file.support.FileExistsMode getMode()
public void setMode(org.springframework.integration.file.support.FileExistsMode mode)
public String getName()
public void setName(String name)
public String getNameExpression()
public void setNameExpression(String nameExpression)
public String getSuffix()
public void setSuffix(String suffix)
@AssertTrue(message="Exactly one of \'name\' or \'nameExpression\' must be set") public @AssertTrue(message="Exactly one of \'name\' or \'nameExpression\' must be set") boolean isMutuallyExclusiveNameAndNameExpression()
@AssertTrue(message="Exactly one of \'directory\' or \'directoryExpression\' must be set") public @AssertTrue(message="Exactly one of \'directory\' or \'directoryExpression\' must be set") boolean isMutuallyExclusiveDirectoryAndDirectoryExpression()
Copyright © 2022. All rights reserved.