Class BukkitLockableNewActionEvent<T>
java.lang.Object
org.bukkit.event.Event
com.nickuc.login.api.event.internal.bukkit.BukkitEvent
com.nickuc.login.api.event.internal.bukkit.BukkitLockableNewActionEvent<T>
- All Implemented Interfaces:
LockableNewActionEvent<T>
- Direct Known Subclasses:
LoginRequestChangeEvent
public class BukkitLockableNewActionEvent<T>
extends BukkitEvent
implements LockableNewActionEvent<T>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Constructor Summary
ConstructorsConstructorDescriptionBukkitLockableNewActionEvent
(T event, org.bukkit.plugin.Plugin plugin, LockableEventAction action) -
Method Summary
Modifier and TypeMethodDescriptionReturns the action done.getEvent()
Returns the lockable event.org.bukkit.plugin.Plugin
Returns the plugin that owns the action.Methods inherited from class com.nickuc.login.api.event.internal.bukkit.BukkitEvent
getHandlerList, getHandlers
Methods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
BukkitLockableNewActionEvent
public BukkitLockableNewActionEvent(T event, org.bukkit.plugin.Plugin plugin, LockableEventAction action)
-
-
Method Details
-
getEvent
Returns the lockable event.- Specified by:
getEvent
in interfaceLockableNewActionEvent<T>
-
getPlugin
@Nonnull public org.bukkit.plugin.Plugin getPlugin()Returns the plugin that owns the action. -
getAction
Returns the action done.- Specified by:
getAction
in interfaceLockableNewActionEvent<T>
-