sergehuber commented on a change in pull request #131: Add the ability to
update event by item id
URL: https://github.com/apache/unomi/pull/131#discussion_r385715525
##########
File path: api/src/main/java/org/apache/unomi/api/rules/Rule.java
##########
@@ -132,6 +134,15 @@ public boolean isRaiseEventOnlyOnceForProfile() {
return raiseEventOnlyOnceForProfile;
}
+ /**
+ * Determines whether the event raised when the rule is triggered should
only be raised once
+ *
+ * @return {@code true} if the rule-triggered event should only be raised
once per profile
+ */
+ public boolean isRaiseEventOnlyOnce() {
+ return raiseEventOnlyOnce;
+ }
+
Review comment:
A setter is missing, this probably won't work well with JSON deserialization
otherwise.
----------------------------------------------------------------
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]
With regards,
Apache Git Services