Package org.apache.nifi.components
Class PropertyDescriptor.ConstrainedSetValidator
java.lang.Object
org.apache.nifi.components.PropertyDescriptor.ConstrainedSetValidator
- All Implemented Interfaces:
Validator
- Enclosing class:
PropertyDescriptor
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
ConstrainedSetValidator
(Collection<AllowableValue> validValues) Constructs a validator that will check if the given value is in the given set. -
Method Summary
Modifier and TypeMethodDescriptionvalidate
(String subject, String input, ValidationContext context)
-
Field Details
-
POSITIVE_EXPLANATION
- See Also:
-
NEGATIVE_EXPLANATION
- See Also:
-
VALUE_DEMARCATOR
- See Also:
-
validStrings
-
validValues
-
-
Constructor Details
-
ConstrainedSetValidator
Constructs a validator that will check if the given value is in the given set.- Parameters:
validValues
- values which are acceptible- Throws:
NullPointerException
- if the given validValues is null
-
-
Method Details