Class JsonNodeAnnotationPredicate

  • All Implemented Interfaces:
    java.util.function.Predicate<JsonNodeAnnotation>

    public class JsonNodeAnnotationPredicate
    extends java.lang.Object
    implements java.util.function.Predicate<JsonNodeAnnotation>
    A predicate for filtering annotations.
    • Field Detail

      • instanceLocationPredicate

        final java.util.function.Predicate<JsonNodePath> instanceLocationPredicate
      • evaluationPathPredicate

        final java.util.function.Predicate<JsonNodePath> evaluationPathPredicate
      • schemaLocationPredicate

        final java.util.function.Predicate<SchemaLocation> schemaLocationPredicate
      • keywordPredicate

        final java.util.function.Predicate<java.lang.String> keywordPredicate
      • valuePredicate

        final java.util.function.Predicate<java.lang.Object> valuePredicate
    • Constructor Detail

      • JsonNodeAnnotationPredicate

        protected JsonNodeAnnotationPredicate​(java.util.function.Predicate<JsonNodePath> instanceLocationPredicate,
                                              java.util.function.Predicate<JsonNodePath> evaluationPathPredicate,
                                              java.util.function.Predicate<SchemaLocation> schemaLocationPredicate,
                                              java.util.function.Predicate<java.lang.String> keywordPredicate,
                                              java.util.function.Predicate<java.lang.Object> valuePredicate)
        Initialize a new instance of this class.
        Parameters:
        instanceLocationPredicate - for instanceLocation
        evaluationPathPredicate - for evaluationPath
        schemaLocationPredicate - for schemaLocation
        keywordPredicate - for keyword
        valuePredicate - for value
    • Method Detail

      • getInstanceLocationPredicate

        public java.util.function.Predicate<JsonNodePath> getInstanceLocationPredicate()
        Gets the predicate to filter on instanceLocation.
        Returns:
        the predicate
      • getEvaluationPathPredicate

        public java.util.function.Predicate<JsonNodePath> getEvaluationPathPredicate()
        Gets the predicate to filter on evaluationPath.
        Returns:
        the predicate
      • getSchemaLocationPredicate

        public java.util.function.Predicate<SchemaLocation> getSchemaLocationPredicate()
        Gets the predicate to filter on schemaLocation.
        Returns:
        the predicate
      • getKeywordPredicate

        public java.util.function.Predicate<java.lang.String> getKeywordPredicate()
        Gets the predicate to filter on keyword.
        Returns:
        the predicate
      • getValuePredicate

        public java.util.function.Predicate<java.lang.Object> getValuePredicate()
        Gets the predicate to filter on value.
        Returns:
        the predicate