Constructor and Description |
---|
PluginMessageListenerRegistration(@NotNull Messenger messenger,
@NotNull Plugin plugin,
@NotNull String channel,
@NotNull PluginMessageListener listener) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
@NotNull String |
getChannel()
Gets the plugin channel that this registration is about.
|
@NotNull PluginMessageListener |
getListener()
Gets the registered listener described by this registration.
|
@NotNull Plugin |
getPlugin()
Gets the plugin that this registration is for.
|
int |
hashCode() |
boolean |
isValid()
Checks if this registration is still valid.
|
public PluginMessageListenerRegistration(@NotNull @NotNull Messenger messenger, @NotNull @NotNull Plugin plugin, @NotNull @NotNull String channel, @NotNull @NotNull PluginMessageListener listener)
@NotNull public @NotNull String getChannel()
@NotNull public @NotNull PluginMessageListener getListener()
@NotNull public @NotNull Plugin getPlugin()
public boolean isValid()
Copyright © 2022. All rights reserved.