mirror of https://github.com/apache/nifi.git
NIFI-3497 Converted properties to use displayName, changed validator on demarcator property and created a method for duplicate code.
This commit is contained in:
parent
a974f78e03
commit
3177eb1852
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue