Class CommandPreProcessEvent
- java.lang.Object
-
- de.dytanic.cloudnet.driver.event.Event
-
- de.dytanic.cloudnet.event.command.CommandPreProcessEvent
-
- All Implemented Interfaces:
de.dytanic.cloudnet.driver.event.ICancelable
public class CommandPreProcessEvent extends de.dytanic.cloudnet.driver.event.Event implements de.dytanic.cloudnet.driver.event.ICancelable
-
-
Constructor Summary
Constructors Constructor Description CommandPreProcessEvent(java.lang.String commandLine, ICommandSender commandSender)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetCommandLine()ICommandSendergetCommandSender()booleanisCancelled()voidsetCancelled(boolean cancelled)
-
-
-
Constructor Detail
-
CommandPreProcessEvent
public CommandPreProcessEvent(java.lang.String commandLine, ICommandSender commandSender)
-
-
Method Detail
-
getCommandLine
public java.lang.String getCommandLine()
-
getCommandSender
public ICommandSender getCommandSender()
-
isCancelled
public boolean isCancelled()
- Specified by:
isCancelledin interfacede.dytanic.cloudnet.driver.event.ICancelable
-
setCancelled
public void setCancelled(boolean cancelled)
- Specified by:
setCancelledin interfacede.dytanic.cloudnet.driver.event.ICancelable
-
-