frysk.hpd
Class CoreCommand
java.lang.Object
frysk.hpd.Command
frysk.hpd.ParameterizedCommand
frysk.hpd.CoreCommand
public class CoreCommand
- extends ParameterizedCommand
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CoreCommand
CoreCommand()
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