@ConfigurationProperties(value="file.consumer") public class FileConsumerProperties extends Object
Constructor and Description |
---|
FileConsumerProperties() |
Modifier and Type | Method and Description |
---|---|
boolean |
getMarkersJson() |
FileReadingMode |
getMode() |
Boolean |
getWithMarkers() |
boolean |
isWithMarkersValid() |
void |
setMarkersJson(boolean markersJson) |
void |
setMode(FileReadingMode mode) |
void |
setWithMarkers(Boolean withMarkers) |
@NotNull public FileReadingMode getMode()
public void setMode(FileReadingMode mode)
public Boolean getWithMarkers()
public void setWithMarkers(Boolean withMarkers)
public boolean getMarkersJson()
public void setMarkersJson(boolean markersJson)
@AssertTrue(message="withMarkers can only be supplied when FileReadingMode is \'lines\'") public boolean isWithMarkersValid()
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.