public class CommandPreProcessEvent extends Event implements Cancellable
Constructor and Description |
---|
CommandPreProcessEvent(ExHost host,
java.lang.String command)
Command Pre-Process Event
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCommand()
Gets the full Command String
|
boolean |
isCancelled()
Gets if the Event has been Cancelled
|
void |
setCancelled(boolean value)
Sets if the Event is Cancelled
|
getAPI, getHandlers, getPlugin, toString
public CommandPreProcessEvent(ExHost host, java.lang.String command)
host
- SubServers.Hostcommand
- Commandpublic java.lang.String getCommand()
public boolean isCancelled()
Cancellable
isCancelled
in interface Cancellable
public void setCancelled(boolean value)
Cancellable
setCancelled
in interface Cancellable