+ catchers
This commit is contained in:
parent
75285b6bb5
commit
938e547d96
@ -59,10 +59,13 @@ public class Catchers implements Listener {
|
|||||||
|
|
||||||
public interface Catcher {
|
public interface Catcher {
|
||||||
|
|
||||||
Catcher before();
|
default Catcher before() {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
boolean after(String message);
|
boolean after(String message);
|
||||||
|
|
||||||
void cancel();
|
default void cancel() {
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user