public class BungeeLockableNewActionEvent<T> extends BungeeEvent implements LockableNewActionEvent<T>
Constructor and Description |
---|
BungeeLockableNewActionEvent(T event,
net.md_5.bungee.api.plugin.Plugin plugin,
LockableEventAction action) |
Modifier and Type | Method and Description |
---|---|
LockableEventAction |
getAction()
Returns the action done.
|
T |
getEvent()
Returns the lockable event.
|
net.md_5.bungee.api.plugin.Plugin |
getPlugin()
Returns the plugin that owns the action.
|
public BungeeLockableNewActionEvent(T event, net.md_5.bungee.api.plugin.Plugin plugin, LockableEventAction action)
public T getEvent()
getEvent
in interface LockableNewActionEvent<T>
@Nonnull public net.md_5.bungee.api.plugin.Plugin getPlugin()
@Nonnull public LockableEventAction getAction()
getAction
in interface LockableNewActionEvent<T>