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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
@NotNull FileReadingMode
getMode()
@jakarta.validation.constraints.AssertTrue(message="withMarkers can only be supplied when FileReadingMode is \'lines\'") boolean
void
setMarkersJson
(boolean markersJson) void
setMode
(FileReadingMode mode) void
setWithMarkers
(Boolean withMarkers)
-
Constructor Details
-
FileConsumerProperties
public FileConsumerProperties()
-
-
Method Details
-
getMode
-
setMode
-
getWithMarkers
-
setWithMarkers
-
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()
-