com.celadari.jsonlogicscala.evaluate
Checks if conditions satisfies this operator's constraints.
Checks if conditions satisfies this operator's constraints. Should throw an exception if not.
Returns value by this composition operator.
Returns value by this composition operator.
operated value by operator.
Returns evaluated result of corresponding condition (internal node in syntax tree).
Returns evaluated result of corresponding condition (internal node in syntax tree). This method carries a map of map of (composition_operator -> map(variable_name -> variable_value)) to fetch the value of variable (depends on the composition_operator and the values this composition_operator is applied to). This map of map is necessary as a composition_operator can be composed with another composition_operator which requires to be able to distinguish between values which composition_operator they belong to.
evaluated result.
(Since version ) see corresponding Javadoc for more information.
Defines interface of class/object that defines a composition operator. Unlike other operators, these operators are more complex and new to inform sub-nodes in syntax tree of values before evaluating its current node. This is performed by updating the map "logicOperatorToValue" which is passed on to sub-nodes. Invoked method has to be "composeOperator" and overloading this method doesn't work.
map, filter, all, none, some