From 04e9606770a47d36aae07f152e52e055c5bb3a62 Mon Sep 17 00:00:00 2001 From: Matt Burgess Date: Tue, 15 Dec 2015 22:19:09 -0500 Subject: [PATCH] NIFI-1290 Document the need for an explicit Validator for a PropertyDescriptor Signed-off-by: joewitt --- nifi-docs/src/main/asciidoc/developer-guide.adoc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/nifi-docs/src/main/asciidoc/developer-guide.adoc b/nifi-docs/src/main/asciidoc/developer-guide.adoc index 28df5c2069..aeea3dc0ba 100644 --- a/nifi-docs/src/main/asciidoc/developer-guide.adoc +++ b/nifi-docs/src/main/asciidoc/developer-guide.adoc @@ -181,12 +181,13 @@ the `build` method. [[validator]] ==== Validator -A PropertyDescriptor may specify one or more Validators that can be +A PropertyDescriptor MUST specify one or more Validators that can be used to ensure that the user-entered value for a property is valid. If a Validator indicates that a property value is invalid, the Component will not be -able to be run or used until the property becomes valid. - +able to be run or used until the property becomes valid. If a +Validator is not specified, the Component will be assumed invalid and +NiFi will report that the property is not supported. [[validation_context]] ==== ValidationContext