Package commandManager.externalRecievers
Class ExecuteScriptReceiver
java.lang.Object
commandManager.externalRecievers.ExecuteScriptReceiver
- All Implemented Interfaces:
ExternalBaseReceiver
Reads and executes script from file.
- Since:
- 1.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
receiveCommand
(CommandDescription commandDescription, String[] args)
-
Constructor Details
-
ExecuteScriptReceiver
public ExecuteScriptReceiver()
-
-
Method Details
-
receiveCommand
public boolean receiveCommand(CommandDescription commandDescription, String[] args) throws IllegalArgumentException, WrongAmountOfArgumentsException - Specified by:
receiveCommand
in interfaceExternalBaseReceiver
- Throws:
IllegalArgumentException
WrongAmountOfArgumentsException
-