-
Deprecated Classes
-
Deprecated FieldsFieldDescriptionUse
FlagArgument.FLAG_META_KEYinsteadfor removal since 1.3.0. UseCommandConfirmationManager.META_CONFIRMATION_REQUIREDinstead.
-
Deprecated MethodsMethodDescriptionInject directly instead of relying on this listfor removal since 1.4.0. Use
CommandFlag.Builder.withDescription(ArgumentDescription)instead.for removal since 1.4.0. UseCommandFlag.getArgumentDescription()instead.for removal since 1.4.0. UseCommand.Builder.argument(CommandArgument.Builder, ArgumentDescription)instead.for removal since 1.4.0. UseCommand.Builder.argument(CommandArgument, ArgumentDescription)instead.for removal since 1.4.0. UseCommand.Builder.argumentPair(String, Pair, Pair, ArgumentDescription)instead.for removal since 1.4.0. UseCommand.Builder.argumentPair(String, TypeToken, Pair, Pair, BiFunction, ArgumentDescription)instead.for removal since 1.4.0. UseCommand.Builder.argumentTriplet(String, Triplet, Triplet, ArgumentDescription)instead.for removal since 1.4.0, useCommand.Builder.argumentTriplet(String, TypeToken, Triplet, Triplet, BiFunction, ArgumentDescription)instead.for removal since 1.4.0. UseCommand.Builder.literal(String, ArgumentDescription, String...)instead.for removal since 1.2.0, use the typesafe variant atCommand.Builder.meta(CommandMeta.Key, Object)instead.More than one matching command argument may exist per command. UseCommand.getArguments()and search in that, instead.for removal since 1.4.0. UseCommand.newBuilder(String, CommandMeta, ArgumentDescription, String...)instead.for removal since 1.4.0. UseCommandComponent.getArgumentDescription()instead.for removal since 1.4.0. UseCommandComponent.of(CommandArgument, ArgumentDescription)instead.for removal since 1.4.0. UseCommandManager.commandBuilder(String, ArgumentDescription, String...)instead.for removal since 1.4.0. UseCommandManager.commandBuilder(String, CommandMeta, ArgumentDescription, String...)instead.for removal since 1.4.0. UseCommandManager.commandBuilder(String, Collection, ArgumentDescription, CommandMeta)instead.for removal since 1.7.0. Use the non-prefixed getterCommandManager.captionRegistry()instead.for removal since 1.7.0. UseCommandManager.createCommandHelpHandler()instead.for removal since 1.7.0. UseCommandManager.createCommandHelpHandler(Predicate)instead.for removal since 1.7.0. Use the non-prefixed getterCommandManager.commandRegistrationHandler()instead.for removal since 1.7.0. Use the non-prefixed getterCommandManager.commands()instead.for removal since 1.7.0. Use the non-prefixed getterCommandManager.commandSuggestionProcessor()instead.for removal since 1.7.0. Use the non-prefixed getterCommandManager.commandSyntaxFormatter()instead.for removal since 1.7.0. Use the non-prefixed getterCommandManager.commandTree()instead.for removal since 1.7.0. Use the non-prefixed getterCommandManager.parserRegistry()instead.for removal since 1.7.0. Use the non-prefixed getterCommandManager.registrationState()instead.UseCommandManager.captionRegistry(CaptionRegistry)These methods are identical.for removal since 1.7.0. Use the non-prefixed setterCommandManager.captionRegistry(CaptionRegistry)instead.for removal since 1.7.0. Use the non-prefixed setterCommandManager.commandSuggestionProcessor(CommandSuggestionProcessor)instead.for removal since 1.7.0. Use the non-prefixed setterCommandManager.commandSyntaxFormatter(CommandSyntaxFormatter)instead.Provide a command manager instead of a caption registryfor removal since 1.4.0. SeeArgumentDescription.empty()for removal since 1.4.0. SeeArgumentDescription.of(String)for removal since 1.3.0, useCommandMeta.getAllValues()instead.for removal since 1.3.0, see typesafe variant atCommandMeta.getOrDefault(Key, Object)insteadfor removal since 1.3.0, see typesafe variant atCommandMeta.get(Key)insteadFor removal since 1.3.0, usethe typesafe alternativeinstead
-
Deprecated ConstructorsConstructorDescriptionMap does not allow for the same literal or variable argument name to repeatMap does not allow for the same literal or variable argument name to repeatMap does not allow for the same literal or variable argument name to repeatProvide a command manager instead of a caption registryProvide a command manager instead of a caption registry
ArgumentDescriptioninstead.