mirror of
https://github.com/zaaarf/geb.git
synced 2024-11-22 14:54:50 +01:00
chore: javadocs update
This commit is contained in:
parent
e24269a30b
commit
4dcb9eca24
2 changed files with 2 additions and 5 deletions
|
@ -2,7 +2,7 @@ package ftbsc.geb.api;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The common interface for all GEB events.
|
* The common interface for all GEB events.
|
||||||
* It doesn't do anything special, just provide a common superclass.
|
* It doesn't do anything special, it just provides a common superclass.
|
||||||
* @since 0.1.0
|
* @since 0.1.0
|
||||||
*/
|
*/
|
||||||
public interface IEvent {}
|
public interface IEvent {}
|
||||||
|
|
|
@ -6,8 +6,7 @@ package ftbsc.geb.api;
|
||||||
*/
|
*/
|
||||||
public interface IEventCancelable extends IEvent {
|
public interface IEventCancelable extends IEvent {
|
||||||
/**
|
/**
|
||||||
* Checks whether the event was canceled; any user-defined
|
* Checks whether the event was canceled.
|
||||||
* implementation will be ignored.
|
|
||||||
* @return whether the event was canceled
|
* @return whether the event was canceled
|
||||||
*/
|
*/
|
||||||
default boolean isCanceled() {
|
default boolean isCanceled() {
|
||||||
|
@ -16,7 +15,6 @@ public interface IEventCancelable extends IEvent {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Cancels the event.
|
* Cancels the event.
|
||||||
* Any user-defined implementation will be ignored.
|
|
||||||
*/
|
*/
|
||||||
default void setCanceled() {
|
default void setCanceled() {
|
||||||
this.setCanceled(true);
|
this.setCanceled(true);
|
||||||
|
@ -24,7 +22,6 @@ public interface IEventCancelable extends IEvent {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Cancels the event.
|
* Cancels the event.
|
||||||
* Any user-defined implementation will be ignored.
|
|
||||||
* @param canceled whether the event should be set to canceled
|
* @param canceled whether the event should be set to canceled
|
||||||
*/
|
*/
|
||||||
default void setCanceled(boolean canceled) {}
|
default void setCanceled(boolean canceled) {}
|
||||||
|
|
Loading…
Reference in a new issue