frysk.hpd
Class ActionPointCommands

java.lang.Object
  extended by frysk.hpd.Command
      extended by frysk.hpd.ParameterizedCommand
          extended by frysk.hpd.ActionPointCommands
Direct Known Subclasses:
ActionPointCommands.Actions, ActionPointCommands.Delete, ActionPointCommands.Disable, ActionPointCommands.Enable

abstract class ActionPointCommands
extends ParameterizedCommand


Nested Class Summary
(package private) static class ActionPointCommands.Actions
           
(package private) static class ActionPointCommands.Delete
           
(package private) static class ActionPointCommands.Disable
           
(package private) static class ActionPointCommands.Enable
           
private static class ActionPointCommands.Options
           
 
Field Summary
private  boolean argsRequired
           
 
Constructor Summary
ActionPointCommands(boolean argsRequired, String name, String syntax, String description)
           
 
Method Summary
(package private)  int completer(CLI cli, Input incomplete, int base, List alternatives)
          Complete the command's parameters.
(package private)  void interpret(CLI cli, Input input, Object o)
          Interpret command, using options.
(package private) abstract  void interpret(CLI cli, PTSet ptset, String actionpoints, ActionPointCommands.Options options)
           
(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
 

Field Detail

argsRequired

private boolean argsRequired
Constructor Detail

ActionPointCommands

ActionPointCommands(boolean argsRequired,
                    String name,
                    String syntax,
                    String description)
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

completer

int completer(CLI cli,
              Input incomplete,
              int base,
              List alternatives)
Description copied from class: ParameterizedCommand
Complete the command's parameters.

Specified by:
completer in class ParameterizedCommand

interpret

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

Specified by:
interpret in class ParameterizedCommand

interpret

abstract void interpret(CLI cli,
                        PTSet ptset,
                        String actionpoints,
                        ActionPointCommands.Options options)