giladw commented on a change in pull request #238:
URL: https://github.com/apache/unomi/pull/238#discussion_r575823058



##########
File path: 
persistence-spi/src/main/java/org/apache/unomi/persistence/spi/PersistenceService.java
##########
@@ -305,6 +305,14 @@
      */
     boolean testMatch(Condition query, Item item);
 
+    /**
+     * validates if a condition throws exception at query build.
+     *
+     * @param query the condition we're testing the specified item against
+     * @param item  the item we're checking against the specified condition
+     * @return {@code true} if the item satisfies the condition, {@code false} 
otherwise
+     */
+    void validateCondition(Condition query, Item item);

Review comment:
       thanks, changing to boolean




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to