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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean@NotNull FileReadingModegetMode()@jakarta.validation.constraints.AssertTrue(message="withMarkers can only be supplied when FileReadingMode is \'lines\'") booleanvoidsetMarkersJson(boolean markersJson) voidsetMode(FileReadingMode mode) voidsetWithMarkers(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()
-