org.aspectj.bridge
Interface ICommand


public interface ICommand

Command wrapper with collecting parameter for messages.


Method Summary
 boolean repeatCommand(IMessageHandler handler)
          Rerun the command.
 boolean runCommand(java.lang.String[] args, IMessageHandler handler)
          Run command with the given options.
 

Method Detail

runCommand

boolean runCommand(java.lang.String[] args,
                   IMessageHandler handler)
Run command with the given options.

Parameters:
args - the String[] options for the command
handler - the IMessageHandler for all output from the command
Returns:
true if the command completed successfully

repeatCommand

boolean repeatCommand(IMessageHandler handler)
Rerun the command.

Parameters:
handler - the IMessageHandler for all output from the command
Returns:
true if the command completed successfully