Class ListCommandsCommand

  • All Implemented Interfaces:
    AdminCommand

    @Service(name="list-commands")
    @Singleton
    @CommandLock(NONE)
    public class ListCommandsCommand
    extends Object
    implements AdminCommand
    Simple admin command to list all existing commands.
    Author:
    Jerome Dochez
    • Constructor Detail

      • ListCommandsCommand

        public ListCommandsCommand()
    • Method Detail

      • execute

        public void execute​(AdminCommandContext context)
        Executes the command with the command parameters passed as Properties where the keys are the paramter names and the values the parameter values
        Specified by:
        execute in interface AdminCommand
        Parameters:
        context - information
      • getScope

        protected String getScope()