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(ServerLoadEvent.LoadType type)
Creates a
ServerLoadEvent with a given loading type. |
Modifier and Type | Method and Description |
---|---|
static HandlerList |
getHandlerList() |
HandlerList |
getHandlers() |
ServerLoadEvent.LoadType |
getType()
Gets the context in which the server was loaded.
|
callEvent, getEventName, isAsynchronous
public ServerLoadEvent(@NotNull ServerLoadEvent.LoadType type)
ServerLoadEvent
with a given loading type.type
- the context in which the server was loaded@NotNull public ServerLoadEvent.LoadType getType()
@NotNull public HandlerList getHandlers()
getHandlers
in class Event
@NotNull public static HandlerList getHandlerList()
Copyright © 2022. All rights reserved.