Class AbstractJsonPathProcessor.JsonPathValidator
java.lang.Object
org.apache.nifi.processors.standard.AbstractJsonPathProcessor.JsonPathValidator
- All Implemented Interfaces:
org.apache.nifi.components.Validator
- Enclosing class:
AbstractJsonPathProcessor
abstract static class AbstractJsonPathProcessor.JsonPathValidator
extends Object
implements org.apache.nifi.components.Validator
-
Field Summary
Fields inherited from interface org.apache.nifi.components.Validator
INVALID, VALID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) abstract voidcacheComputedValue(String subject, String input, com.jayway.jsonpath.JsonPath computedJsonPath) An optional hook to act on the compute value(package private) abstract booleanA hook for implementing classes to determine if a cached value is stale for a compiled JsonPath represented by either a validationorg.apache.nifi.components.ValidationResult
-
Constructor Details
-
JsonPathValidator
JsonPathValidator()
-
-
Method Details
-
validate
public org.apache.nifi.components.ValidationResult validate(String subject, String input, org.apache.nifi.components.ValidationContext context) - Specified by:
validatein interfaceorg.apache.nifi.components.Validator
-
cacheComputedValue
abstract void cacheComputedValue(String subject, String input, com.jayway.jsonpath.JsonPath computedJsonPath) An optional hook to act on the compute value -
isStale
A hook for implementing classes to determine if a cached value is stale for a compiled JsonPath represented by either a validation
-