mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-12-05 03:13:14 +01:00
chore: add javadocs to CancellablePlotEvent#
This commit is contained in:
parent
18bd63076f
commit
5a62cda759
@ -26,8 +26,18 @@ import org.checkerframework.checker.nullness.qual.Nullable;
|
|||||||
*/
|
*/
|
||||||
public interface CancellablePlotEvent {
|
public interface CancellablePlotEvent {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The currently set {@link Result} for this event (as set by potential previous event listeners).
|
||||||
|
*
|
||||||
|
* @return the current result.
|
||||||
|
*/
|
||||||
@Nullable Result getEventResult();
|
@Nullable Result getEventResult();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set the {@link Result} for this event.
|
||||||
|
*
|
||||||
|
* @param eventResult the new result.
|
||||||
|
*/
|
||||||
void setEventResult(@Nullable Result eventResult);
|
void setEventResult(@Nullable Result eventResult);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user