@Override public void populateDisplayData(DisplayData.Builder builder) { builder .add( DisplayData.item("emptyMatchTreatment", getEmptyMatchTreatment().toString()) .withLabel("Treatment of filepatterns that match no files")) .addIfNotNull( DisplayData.item("watchForNewFilesInterval", getWatchInterval()) .withLabel("Interval to watch for new files")); } }