public class ServerLoadEvent extends ServerEvent
Modifier and Type | Class and Description |
---|---|
static class |
ServerLoadEvent.LoadType
Represents the context in which the enclosing event has been completed.
|
Event.Result
Constructor and Description |
---|
ServerLoadEvent(@NotNull ServerLoadEvent.LoadType type)
Creates a
ServerLoadEvent with a given loading type. |
Modifier and Type | Method and Description |
---|---|
static @NotNull HandlerList |
getHandlerList() |
@NotNull HandlerList |
getHandlers() |
@NotNull ServerLoadEvent.LoadType |
getType()
Gets the context in which the server was loaded.
|
callEvent, getEventName, isAsynchronous
public ServerLoadEvent(@NotNull @NotNull ServerLoadEvent.LoadType type)
ServerLoadEvent
with a given loading type.type
- the context in which the server was loaded@NotNull public @NotNull ServerLoadEvent.LoadType getType()
@NotNull public @NotNull HandlerList getHandlers()
getHandlers
in class Event
@NotNull public static @NotNull HandlerList getHandlerList()
Copyright © 2021. All rights reserved.