You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by jo...@apache.org on 2015/12/17 18:36:55 UTC
nifi git commit: NIFI-1290 Document the need for an explicit
Validator for a PropertyDescriptor
Repository: nifi
Updated Branches:
refs/heads/master 7c8796826 -> 04e960677
NIFI-1290 Document the need for an explicit Validator for a PropertyDescriptor
Signed-off-by: joewitt <jo...@apache.org>
Project: http://git-wip-us.apache.org/repos/asf/nifi/repo
Commit: http://git-wip-us.apache.org/repos/asf/nifi/commit/04e96067
Tree: http://git-wip-us.apache.org/repos/asf/nifi/tree/04e96067
Diff: http://git-wip-us.apache.org/repos/asf/nifi/diff/04e96067
Branch: refs/heads/master
Commit: 04e9606770a47d36aae07f152e52e055c5bb3a62
Parents: 7c87968
Author: Matt Burgess <mb...@hortonworks.com>
Authored: Tue Dec 15 22:19:09 2015 -0500
Committer: joewitt <jo...@apache.org>
Committed: Thu Dec 17 09:24:28 2015 -0800
----------------------------------------------------------------------
nifi-docs/src/main/asciidoc/developer-guide.adoc | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/nifi/blob/04e96067/nifi-docs/src/main/asciidoc/developer-guide.adoc
----------------------------------------------------------------------
diff --git a/nifi-docs/src/main/asciidoc/developer-guide.adoc b/nifi-docs/src/main/asciidoc/developer-guide.adoc
index 28df5c2..aeea3dc 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