Package command.logic.external.reciever
Class ExecuteScriptReceiver
java.lang.Object
command.logic.external.reciever.ExecuteScriptReceiver
- All Implemented Interfaces:
ExternalBaseReceiver
Reads and executes script from file.
- Since:
- 1.0
- Author:
- Zerumi
-
Constructor Summary
ConstructorDescriptionExecuteScriptReceiver
(ApplicationResponseProvider<CommandStatusResponse>... providers) -
Method Summary
Modifier and TypeMethodDescriptionboolean
receiveCommand
(CommandDescription commandDescription, String[] args)
-
Constructor Details
-
ExecuteScriptReceiver
@SafeVarargs public ExecuteScriptReceiver(ApplicationResponseProvider<CommandStatusResponse>... providers)
-
-
Method Details
-
receiveCommand
public boolean receiveCommand(CommandDescription commandDescription, String[] args) throws IllegalArgumentException, WrongAmountOfArgumentsException - Specified by:
receiveCommand
in interfaceExternalBaseReceiver
- Throws:
IllegalArgumentException
WrongAmountOfArgumentsException
-