timeabarna commented on a change in pull request #5136:
URL: https://github.com/apache/nifi/pull/5136#discussion_r663655732
##########
File path:
nifi-commons/nifi-utils/src/main/java/org/apache/nifi/processor/util/StandardValidators.java
##########
@@ -667,6 +667,46 @@ public ValidationResult validate(final String subject,
final String input, final
};
}
+ public static Validator createRegexMatchingValidatorWithEL(final Pattern
pattern, final String validationMessage) {
+ return new Validator() {
+ @Override
+ public ValidationResult validate(final String subject, final
String input, final ValidationContext context) {
+ final PropertyValue prefixProperty =
context.newPropertyValue(input);
+ final String prefix;
Review comment:
@turcsanyip thanks for your comment, renamed it to propertyValue
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]