Interface Parameter.Subcommand

All Superinterfaces:
Parameter
Enclosing interface:
Parameter

public static interface Parameter.Subcommand extends Parameter
A Parameter.Subcommand represents a literal argument where, if parsed, should indicate to the command processor that the CommandExecutor of the command should change.
  • Method Details

    • command

      The command that is parsed and potentially run when this subcommand is parsed.
      Returns:
      The command to run.
    • aliases

      Set<String> aliases()
      The alias for the subcommand.
      Returns:
      The subcommand.