projects
/
rhynodge.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
✨ Add movie descriptions to new movies section
[rhynodge.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
rhynodge
/
State.java
diff --git
a/src/main/java/net/pterodactylus/rhynodge/State.java
b/src/main/java/net/pterodactylus/rhynodge/State.java
index
2a8ba1c
..
966dbe3
100644
(file)
--- a/
src/main/java/net/pterodactylus/rhynodge/State.java
+++ b/
src/main/java/net/pterodactylus/rhynodge/State.java
@@
-55,9
+55,12
@@
public interface State {
* @return {@code true} if this state triggers a change notification,
* {@code false} otherwise
*/
* @return {@code true} if this state triggers a change notification,
* {@code false} otherwise
*/
- default boolean triggered() {
- return false;
- }
+ boolean triggered();
+
+ /**
+ * Sets whether this state will trigger a notification.
+ */
+ void trigger();
boolean isEmpty();
boolean isEmpty();