GH-2429 Add default implementation of isPaused() to Binding

Resolves #2429
This commit is contained in:
Oleg Zhurakousky
2022-10-17 17:20:03 +02:00
parent 4fc40a04e6
commit fdf6d7a09a

View File

@@ -62,6 +62,14 @@ public interface Binding<T> extends Pausable {
default void stop() {
}
/**
* Will always return false unless overriden.
*/
@Override
default boolean isPaused() {
return false;
}
/**
* Pauses the target component represented by this instance if and only if the
* component implements {@link Pausable} interface NOTE: At the time the instance is