Interface Predicate
An interface for a basic, stand-alone predicate which can be evaluated given some
JsonValue input and serialized for storage.
Predicates are evaluated by the PushMessageResource once a response has been received by an
appropriate endpoint but before that response is delivered back to the processing module.
-
Method Summary
-
Method Details
-
perform
Execute the predicate against the given Json content and return the predicate's success/failure.- Parameters:
content- against which the predicate can be performed.- Returns:
- whether the predicate passed or not.
-
jsonify
String jsonify()Returns a jsonified representation of this object to be used when tranmitting across cluster.- Returns:
- A jsonified representation of this class instance.
-