Package com.plotsquared.core.command
Class DebugImportWorlds
java.lang.Object
com.plotsquared.core.command.Command
com.plotsquared.core.command.DebugImportWorlds
-
Nested Class Summary
Nested classes/interfaces inherited from class com.plotsquared.core.command.Command
Command.CommandException, Command.CommandResult -
Constructor Summary
ConstructorsConstructorDescriptionDebugImportWorlds(@NonNull PlotAreaManager plotAreaManager, @NonNull WorldUtil worldUtil) -
Method Summary
Modifier and TypeMethodDescriptionexecute(PlotPlayer<?> player, String[] args, RunnableVal3<Command, Runnable, Runnable> confirm, RunnableVal2<Command, Command.CommandResult> whenDone) Methods inherited from class com.plotsquared.core.command.Command
canExecute, check, checkArgs, checkTrue, equals, getAliases, getCommand, getCommand, getCommandById, getCommands, getCommands, getCommands, getCommandString, getDescription, getFullId, getId, getMatch, getParent, getPermission, getRequiredArguments, getRequiredType, getUsage, hasConfirmation, hashCode, init, matches, paginate, register, sendUsage, setRequiredArguments, tab, tabOf, toString
-
Constructor Details
-
DebugImportWorlds
@Inject public DebugImportWorlds(@NonNull PlotAreaManager plotAreaManager, @NonNull WorldUtil worldUtil)
-
-
Method Details
-
execute
public CompletableFuture<Boolean> execute(PlotPlayer<?> player, String[] args, RunnableVal3<Command, Runnable, throws Command.CommandExceptionRunnable> confirm, RunnableVal2<Command, Command.CommandResult> whenDone) - Overrides:
executein classCommand- Parameters:
player- Callerargs- Argumentsconfirm- Instance, Success, FailurewhenDone- task to run when done- Returns:
- CompletableFuture
trueif the command executed fully,falsein any other case - Throws:
Command.CommandException
-