org.naturalcli.commands
Class HelpCommandExecutor

java.lang.Object
  extended by org.naturalcli.commands.HelpCommandExecutor
All Implemented Interfaces:
ICommandExecutor

public class HelpCommandExecutor
extends java.lang.Object
implements ICommandExecutor

Executor for HelpCommand

Author:
Ferran Busquets
See Also:
HelpCommandExecutor

Constructor Summary
HelpCommandExecutor(java.util.Set<Command> commands)
          Constructor.
 
Method Summary
 void execute(ParseResult parseResult)
          Execute the command.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HelpCommandExecutor

public HelpCommandExecutor(java.util.Set<Command> commands)
Constructor.

Parameters:
commands - the set of commands for the help
Method Detail

execute

public void execute(ParseResult parseResult)
Description copied from interface: ICommandExecutor
Execute the command.

Specified by:
execute in interface ICommandExecutor
Parameters:
parseResult - the parse data for the command.