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 Details

    • FileConsumerProperties

      public FileConsumerProperties()
  • Method Details

    • isBinary

      public boolean isBinary()
    • setBinary

      public void setBinary(boolean binary)
    • getCharset

      public String getCharset()
    • setCharset

      public void setCharset(String charset)
    • getDirectory

      public File getDirectory()
    • setDirectory

      public void setDirectory(File directory)
    • getDirectoryExpression

      public String getDirectoryExpression()
    • setDirectoryExpression

      public void setDirectoryExpression(String directoryExpression)
    • getMode

      public org.springframework.integration.file.support.FileExistsMode getMode()
    • setMode

      public void setMode(org.springframework.integration.file.support.FileExistsMode mode)
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getNameExpression

      public String getNameExpression()
    • setNameExpression

      public void setNameExpression(String nameExpression)
    • getSuffix

      public String getSuffix()
    • setSuffix

      public void setSuffix(String suffix)
    • 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()