Package org.aspectj.bridge
Interface ICommand
public interface ICommand
Command wrapper with collecting parameter for messages.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
repeatCommand(IMessageHandler handler)
Rerun the command.boolean
runCommand(String[] args, IMessageHandler handler)
Run command with the given options.
-
Method Details
-
runCommand
Run command with the given options.- Parameters:
args
- the String[] options for the commandhandler
- the IMessageHandler for all output from the command- Returns:
- true if the command completed successfully
-
repeatCommand
Rerun the command.- Parameters:
handler
- the IMessageHandler for all output from the command- Returns:
- true if the command completed successfully
-