frysk.hpd
Class LoadCommand

java.lang.Object
  extended by frysk.hpd.Command
      extended by frysk.hpd.ParameterizedCommand
          extended by frysk.hpd.LoadCommand

public class LoadCommand
extends ParameterizedCommand

LoadCommand handles the "load path-to-executable" command on the fhpd commandline.


Nested Class Summary
private static class LoadCommand.Options
           
 
Constructor Summary
LoadCommand()
           
 
Method Summary
(package private)  int completer(CLI cli, Input input, int cursor, List completions)
          Complete the command's parameters.
 void interpret(CLI cli, Input cmd, Object options)
          Interpret command, using options.
static void load(Proc exeProc, CLI cli, String[] params)
           
static void load(Proc exeProc, CLI cli, String sysroot, String[] params)
           
(package private)  Object options()
          Return the options object (or null) which will be passed to each command option parser.
(package private) static void printLoop(CLI cli, String displayedName, HashMap hashProcs)
          printLoop goes through the specified set of procs/tasks and prints them out
 
Methods inherited from class frysk.hpd.ParameterizedCommand
add, complete, help, interpret
 
Methods inherited from class frysk.hpd.Command
description
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoadCommand

LoadCommand()
Method Detail

options

Object options()
Description copied from class: ParameterizedCommand
Return the options object (or null) which will be passed to each command option parser.

Overrides:
options in class ParameterizedCommand

interpret

public void interpret(CLI cli,
                      Input cmd,
                      Object options)
Description copied from class: ParameterizedCommand
Interpret command, using options.

Specified by:
interpret in class ParameterizedCommand

load

public static void load(Proc exeProc,
                        CLI cli,
                        String[] params)

load

public static void load(Proc exeProc,
                        CLI cli,
                        String sysroot,
                        String[] params)

printLoop

static void printLoop(CLI cli,
                      String displayedName,
                      HashMap hashProcs)
printLoop goes through the specified set of procs/tasks and prints them out

Parameters:
cli - is the current command line interface object
displayedName - is the String used for the title of the set
hashProcs - is a HashMap containing the procs to list

completer

int completer(CLI cli,
              Input input,
              int cursor,
              List completions)
Description copied from class: ParameterizedCommand
Complete the command's parameters.

Specified by:
completer in class ParameterizedCommand