Interface Predicate.PredicateContext

All Known Implementing Classes:
PredicateContextImpl
Enclosing interface:
Predicate

public static interface Predicate.PredicateContext
  • Method Summary

    Modifier and Type
    Method
    Description
    Configuration to use when evaluating
    Returns the current item being evaluated by this predicate
    <T> T
    item(Class<T> clazz)
    Returns the current item being evaluated by this predicate.
    Returns the root document (the complete JSON)
  • Method Details

    • item

      Object item()
      Returns the current item being evaluated by this predicate
      Returns:
      current document
    • item

      <T> T item(Class<T> clazz) throws MappingException
      Returns the current item being evaluated by this predicate. It will be mapped to the provided class
      Returns:
      current document
      Throws:
      MappingException
    • root

      Object root()
      Returns the root document (the complete JSON)
      Returns:
      root document
    • configuration

      Configuration configuration()
      Configuration to use when evaluating
      Returns:
      configuration