Record Class RegisteredCommand

java.lang.Object
java.lang.Record
dev.jorel.commandapi.RegisteredCommand

public record RegisteredCommand(String commandName, List<String> argsAsStr, List<AbstractArgument<?,?,?,?>> arguments, Optional<String> shortDescription, Optional<String> fullDescription, Optional<String[]> usageDescription, Optional<Object> helpTopic, String[] aliases, CommandPermission permission, String namespace) extends Record
Class to store a registered command which has its command name and a list of arguments as a string. The arguments are expected to be of the form node_name:class_name, for example value:IntegerArgument. This class also contains the information required to construct a meaningful help topic for a command