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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    (package private) abstract void
    cacheComputedValue(String subject, String input, com.jayway.jsonpath.JsonPath computedJsonPath)
    An optional hook to act on the compute value
    (package private) abstract boolean
    isStale(String subject, String input)
    A hook for implementing classes to determine if a cached value is stale for a compiled JsonPath represented by either a validation
    org.apache.nifi.components.ValidationResult
    validate(String subject, String input, org.apache.nifi.components.ValidationContext context)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      validate in interface org.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

      abstract boolean isStale(String subject, String input)
      A hook for implementing classes to determine if a cached value is stale for a compiled JsonPath represented by either a validation