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, AbstractTargetPlayersCommand, AbstractWorldCommand, AssetsCommand.AssetLongestAssetNameCommand, AssetsDuplicatesCommand, BackupCommand, BanCommand, CancelCommand.CancelGlobalCommand, ConvertPrefabsCommand, GenerateI18nCommand, GiveArmorCommand, HelpCommand, InstanceEditCopyCommand, InstanceEditListCommand, InstanceEditLoadCommand, InstanceEditNewCommand, InstanceMigrateCommand, MacroCommandBase, StartCommand.StartGlobalCommand, UIGalleryCommand, UnbanCommand, UpdateCheckCommand, UpdateDownloadCommand, ValidateCPBCommand, WaitCommand, WhitelistAddCommand, WhitelistDisableCommand, WhitelistEnableCommand, WhitelistRemoveCommand, WhoCommand, WorldAddCommand, WorldPruneCommand, WorldSaveCommand

public abstract class AbstractAsyncCommand extends AbstractCommand
An abstract command class for commands that run asynchronously.
  • Constructor Details

    • AbstractAsyncCommand

      public AbstractAsyncCommand(@Nonnull String name, @Nonnull String description)
      Default Constructor for an AbstractAsyncCommand instance.
      Parameters:
      name - The name of the command.
      description - The description of the command.
    • AbstractAsyncCommand

      public AbstractAsyncCommand(@Nonnull String name, @Nonnull String description, boolean requiresConfirmation)
      Constructor for an AbstractAsyncCommand instance.
      Parameters:
      name - The name of the command.
      description - The description of the command.
      requiresConfirmation - Whether a confirmation parameter is required to execute.
    • AbstractAsyncCommand

      public AbstractAsyncCommand(@Nonnull String description)
      Variant Constructor for an AbstractAsyncCommand instance.
      Parameters:
      description - The description of the command.
  • Method Details