frysk.hpd
Class CoreCommand

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

public class CoreCommand
extends ParameterizedCommand


Nested Class Summary
private static class CoreCommand.Options
           
 
Constructor Summary
CoreCommand()
           
 
Method Summary
(package private)  int completer(CLI cli, Input input, int cursor, List completions)
          Complete the command's parameters.
(package private)  void interpret(CLI cli, Input cmd, Object optionsObject)
          Interpret command, using options.
static void load(Proc coreProc, CLI cli)
           
static void load(Proc coreProc, CLI cli, String sysroot)
           
(package private)  Object options()
          Return the options object (or null) which will be passed to each command option parser.
 
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

CoreCommand

CoreCommand()
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

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

Specified by:
interpret in class ParameterizedCommand

load

public static void load(Proc coreProc,
                        CLI cli)

load

public static void load(Proc coreProc,
                        CLI cli,
                        String sysroot)

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