@ConfigurationProperties(value="ftp.supplier") @Validated public class FtpSupplierProperties extends Object
Constructor and Description |
---|
FtpSupplierProperties() |
Modifier and Type | Method and Description |
---|---|
Duration |
getDelayWhenEmpty() |
String |
getFilenamePattern() |
Pattern |
getFilenameRegex() |
@NotNull File |
getLocalDir() |
@NotBlank String |
getRemoteDir() |
@NotBlank String |
getRemoteFileSeparator() |
@NotBlank String |
getTmpFileSuffix() |
boolean |
isAutoCreateLocalDir() |
boolean |
isDeleteRemoteFiles() |
@AssertTrue(message="filenamePattern and filenameRegex are mutually exclusive") boolean |
isExclusivePatterns() |
boolean |
isPreserveTimestamp() |
void |
setAutoCreateLocalDir(boolean autoCreateLocalDir) |
void |
setDelayWhenEmpty(Duration delayWhenEmpty) |
void |
setDeleteRemoteFiles(boolean deleteRemoteFiles) |
void |
setFilenamePattern(String filenamePattern) |
void |
setFilenameRegex(Pattern filenameRegex) |
void |
setLocalDir(File localDir) |
void |
setPreserveTimestamp(boolean preserveTimestamp) |
void |
setRemoteDir(String remoteDir) |
void |
setRemoteFileSeparator(String remoteFileSeparator) |
void |
setTmpFileSuffix(String tmpFileSuffix) |
public boolean isAutoCreateLocalDir()
public void setAutoCreateLocalDir(boolean autoCreateLocalDir)
public boolean isDeleteRemoteFiles()
public void setDeleteRemoteFiles(boolean deleteRemoteFiles)
@NotNull public @NotNull File getLocalDir()
public final void setLocalDir(File localDir)
public String getFilenamePattern()
public void setFilenamePattern(String filenamePattern)
public Pattern getFilenameRegex()
public void setFilenameRegex(Pattern filenameRegex)
public boolean isPreserveTimestamp()
public void setPreserveTimestamp(boolean preserveTimestamp)
@NotBlank public @NotBlank String getRemoteDir()
public final void setRemoteDir(String remoteDir)
@NotBlank public @NotBlank String getTmpFileSuffix()
public void setTmpFileSuffix(String tmpFileSuffix)
@NotBlank public @NotBlank String getRemoteFileSeparator()
public void setRemoteFileSeparator(String remoteFileSeparator)
@AssertTrue(message="filenamePattern and filenameRegex are mutually exclusive") public @AssertTrue(message="filenamePattern and filenameRegex are mutually exclusive") boolean isExclusivePatterns()
public Duration getDelayWhenEmpty()
public void setDelayWhenEmpty(Duration delayWhenEmpty)
Copyright © 2022. All rights reserved.