Class PlayerShopProductGivingDetermineEvent.ExecutableCommand
java.lang.Object
de.marcely.bedwars.api.event.player.PlayerShopProductGivingDetermineEvent.ExecutableCommand
- Enclosing class:
PlayerShopProductGivingDetermineEvent
Represents that may be executed in the future.
-
Constructor Summary
ConstructorDescriptionExecutableCommand
(String command, boolean asConsole) Create a new executable command. -
Method Summary
Modifier and TypeMethodDescriptionGet the command to be executed.boolean
Whether the command shall be executed as console.
-
Constructor Details
-
ExecutableCommand
Create a new executable command.- Parameters:
command
- The command to be executed without the leading slash.asConsole
- Whether the command shall be executed as console.
-
-
Method Details
-
getCommand
Get the command to be executed.- Returns:
- The command to be executed without the leading slash.
-
isAsConsole
public boolean isAsConsole()Whether the command shall be executed as console.- Returns:
- Whether the command shall be executed as console.
-