frysk.hpd
Class LoadCommand
java.lang.Object
frysk.hpd.Command
frysk.hpd.ParameterizedCommand
frysk.hpd.LoadCommand
public class LoadCommand
- extends ParameterizedCommand
LoadCommand handles the "load path-to-executable" command on the fhpd
commandline.
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LoadCommand
LoadCommand()
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 objectdisplayedName
- is the String used for the title of the sethashProcs
- 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