Class AbstractAsyncCommand
java.lang.Object
com.hypixel.hytale.server.core.command.system.AbstractCommand
com.hypixel.hytale.server.core.command.system.basecommands.AbstractAsyncCommand
- Direct Known Subclasses:
AbstractAsyncPlayerCommand,AbstractAsyncWorldCommand,AbstractCommandCollection,AbstractPlayerCommand,AbstractTargetEntityCommand,AbstractTargetPlayerCommand,AbstractWorldCommand,AssetsCommand.AssetLongestAssetNameCommand,AssetsDuplicatesCommand,BackupCommand,BanCommand,ConvertPrefabsCommand,GenerateI18nCommand,GiveArmorCommand,HelpCommand,HelpCommand.HelpCommandVariant,HideCommand.HidePlayerCommand,HideCommand.ShowPlayerCommand,InstanceEditCopyCommand,InstanceEditListCommand,InstanceEditLoadCommand,InstanceEditNewCommand,InstanceMigrateCommand,MacroCommandBase,StressTestStopCommand,UnbanCommand,UpdateAssetsCommand.UpdateAssetsGitCommand,UpdatePrefabsCommand.UpdatePrefabsGitCommand,ValidateCPBCommand,WaitCommand,WhitelistAddCommand,WhitelistRemoveCommand,WhoCommand,WorldPruneCommand,WorldSaveCommand
-
Field Summary
FieldsFields inherited from class com.hypixel.hytale.server.core.command.system.AbstractCommand
EMPTY_STRING_ARRAY, LOGGER -
Constructor Summary
ConstructorsConstructorDescriptionAbstractAsyncCommand(String description) AbstractAsyncCommand(String name, String description) AbstractAsyncCommand(String name, String description, boolean requiresConfirmation) -
Method Summary
Modifier and TypeMethodDescriptionprotected final CompletableFuture<Void> execute(CommandContext context) protected abstract CompletableFuture<Void> executeAsync(CommandContext var1) runAsync(CommandContext context, Runnable runnable, Executor executor) Methods inherited from class com.hypixel.hytale.server.core.command.system.AbstractCommand
acceptCall, addAliases, addSubCommand, addUsageVariant, canGeneratePermission, completeRegistration, countParents, generatePermissionNode, getAliases, getDescription, getFullyQualifiedName, getName, getOwner, getPermission, getPermissionGroups, getPermissionGroupsRecursive, getRequiredArguments, getSubCommands, getUsageShort, getUsageString, hasBeenRegistered, hasPermission, isVariant, matches, putRecursivePermissionGroups, requirePermission, setAllowsExtraArguments, setOwner, setPermissionGroup, setPermissionGroups, setUnavailableInSingleplayer, withDefaultArg, withDefaultArg, withFlagArg, withListDefaultArg, withListOptionalArg, withListRequiredArg, withOptionalArg, withOptionalArg, withRequiredArg, withRequiredArg
-
Field Details
-
MESSAGE_MODULES_COMMAND_RUNTIME_ERROR
-
-
Constructor Details
-
AbstractAsyncCommand
-
AbstractAsyncCommand
-
AbstractAsyncCommand
-
-
Method Details
-
execute
- Specified by:
executein classAbstractCommand
-
executeAsync
-
runAsync
@Nonnull public CompletableFuture<Void> runAsync(@Nonnull CommandContext context, @Nonnull Runnable runnable, @Nonnull Executor executor)
-