NIFI-1750 Updated ScanAttribute dictionary file processor property description.

This closes #1543.

Signed-off-by: Andy LoPresto <alopresto@apache.org>
This commit is contained in:
Joe Trite 2017-02-24 16:18:54 -05:00 committed by Andy LoPresto
parent 9f669aa944
commit f8cad0f8c9
No known key found for this signature in database
GPG Key ID: 3C6EF65B2F7DEF69
1 changed files with 2 additions and 1 deletions

View File

@ -83,7 +83,8 @@ public class ScanAttribute extends AbstractProcessor {
.build(); .build();
public static final PropertyDescriptor DICTIONARY_FILE = new PropertyDescriptor.Builder() public static final PropertyDescriptor DICTIONARY_FILE = new PropertyDescriptor.Builder()
.name("Dictionary File") .name("Dictionary File")
.description("A new-line-delimited text file that includes the terms that should trigger a match. Empty lines are ignored.") .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) .required(true)
.addValidator(StandardValidators.FILE_EXISTS_VALIDATOR) .addValidator(StandardValidators.FILE_EXISTS_VALIDATOR)
.build(); .build();