Class ListComponentsCommand

    • Constructor Detail

      • ListComponentsCommand

        public ListComponentsCommand()
    • Method Detail

      • getNames

        public java.lang.String[] getNames()
        Get the command names (name including alias').
        Specified by:
        getNames in interface ICliCommand
        Specified by:
        getNames in class ACliCommand
        Returns:
        A string array of the command name and optional further alias names.
      • invokeCommand

        public java.lang.Object invokeCommand​(CliContext context,
                                              java.util.Map<java.lang.String,​java.lang.Object> args)
        Invoke the command.
        Specified by:
        invokeCommand in interface ICliCommand
        Specified by:
        invokeCommand in class ACliCommand
        Parameters:
        context - The context.
        args - The arguments.