Class FileConsumerProperties

java.lang.Object
org.springframework.cloud.fn.common.file.FileConsumerProperties

@ConfigurationProperties("file.consumer") @Validated public class FileConsumerProperties extends Object
Author:
David Turanski, Artem Bilan
  • Constructor Details

    • FileConsumerProperties

      public FileConsumerProperties()
  • Method Details

    • getMode

      @NotNull public @NotNull FileReadingMode getMode()
    • setMode

      public void setMode(FileReadingMode mode)
    • getWithMarkers

      public Boolean getWithMarkers()
    • setWithMarkers

      public void setWithMarkers(Boolean withMarkers)
    • getMarkersJson

      public boolean getMarkersJson()
    • setMarkersJson

      public void setMarkersJson(boolean markersJson)
    • isWithMarkersValid

      @AssertTrue(message="withMarkers can only be supplied when FileReadingMode is \'lines\'") public @jakarta.validation.constraints.AssertTrue(message="withMarkers can only be supplied when FileReadingMode is \'lines\'") boolean isWithMarkersValid()