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