Class CliJob.CliCommand

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String[] commands
      The command.
    • Constructor Summary

      Constructors 
      Constructor Description
      CliCommand​(java.lang.String[] commands)
      Create a new cli command.
    • Field Detail

      • commands

        protected java.lang.String[] commands
        The command.
    • Constructor Detail

      • CliCommand

        public CliCommand​(java.lang.String[] commands)
        Create a new cli command.
    • Method Detail

      • executeCommands

        protected IFuture<java.lang.Void> executeCommands​(ICliService cliser,
                                                          java.util.Iterator<java.lang.String> cmds,
                                                          java.lang.StringBuffer buf)
        Execute a number of commands.
      • getCommands

        public java.lang.String[] getCommands()
        Get the commands.
        Returns:
        The commands.
      • setCommands

        public void setCommands​(java.lang.String[] commands)
        Set the commands.
        Parameters:
        commands - The commands to set.