This is used for the executing of Commands. It runs Commands in a seperate thread. @see Runnable#run() @param termArea This is a JavaFX Label that is being passed to the Command. @param body This is the body of the command (everything after the first space). It can hold arguments or whatever else
(Label termArea, String body, Console console)
| 51 | * It can hold arguments or whatever else the user passes to it. |
| 52 | */ |
| 53 | public void runCommand(Label termArea, String body, Console console) { |
| 54 | this.termArea = termArea; |
| 55 | this.console = console; |
| 56 | this.body = body; |
| 57 | run(); |
| 58 | } |
| 59 | |
| 60 | @Override |
| 61 | abstract public void run(); |
no test coverage detected