Class SmartCommand.SubCommandEntity

java.lang.Object
de.goldmensch.commanddispatcher.command.SmartCommand.SubCommandEntity
Enclosing class:
SmartCommand

public static final class SmartCommand.SubCommandEntity extends Object
  • Method Details

    • getArgs

      @NotNull public @NotNull String[] getArgs()

      The new arguments are the arguments without the path and the name of the command.

      Example: subcommand path : "arg0 name"

      path: "arg0 name value" becomes Arguments: "value"

      Returns:
      The new Arguments of the command.
    • getCommand

      @NotNull public @NotNull SmartSubCommand getCommand()
      Returns:
      The SubCommand