NIFI-3497 Converted properties to use displayName, changed validator on demarcator property and created a method for duplicate code.

This commit is contained in:
Joe Trite 2017-03-04 08:09:06 -05:00
parent a974f78e03
commit 3177eb1852
1 changed files with 2 additions and 2 deletions

View File

@ -97,8 +97,8 @@ public class ScanAttribute extends AbstractProcessor {
public static final PropertyDescriptor DICTIONARY_FILE = new PropertyDescriptor.Builder()
.name("dictionary-file")
.displayName("Dictionary File")
.description("A new-line-delimited text file that includes the terms that should trigger a match. Empty lines are ignored.")
.required(true)
.description("A new-line-delimited text file that includes the terms that should trigger a match. Empty lines are ignored. The contents of "
+ "the text file are loaded into memory when the processor is scheduled and reloaded when the contents are modified.") .required(true)
.addValidator(StandardValidators.FILE_EXISTS_VALIDATOR)
.build();
public static final PropertyDescriptor DICTIONARY_FILTER = new PropertyDescriptor.Builder()