public class ServerLoadEvent extends ServerEvent
Modifier and Type | Class | Description |
---|---|---|
static class |
ServerLoadEvent.LoadType |
Represents the context in which the enclosing event has been completed.
|
Event.Result
Constructor | Description |
---|---|
ServerLoadEvent(ServerLoadEvent.LoadType type) |
Creates a
ServerLoadEvent with a given loading type. |
Modifier and Type | Method | Description |
---|---|---|
static HandlerList |
getHandlerList() |
|
HandlerList |
getHandlers() |
|
ServerLoadEvent.LoadType |
getType() |
Gets the context in which the server was loaded.
|
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 © 2020. All rights reserved.