NIFI-1290 Document the need for an explicit Validator for a PropertyDescriptor

Signed-off-by: joewitt <joewitt@apache.org>
This commit is contained in:
Matt Burgess 2015-12-15 22:19:09 -05:00 committed by joewitt
parent 7c87968260
commit 04e9606770
1 changed files with 4 additions and 3 deletions

View File

@ -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