MCPcopy Create free account
hub / github.com/TheCyaniteProject/exit_code_java / runCommand

Method runCommand

src/main/java/exitcode/Command.java:53–58  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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();

Callers 3

exeGlobalMethod · 0.95
exePrivateMethod · 0.95
handleMethod · 0.45

Calls 1

runMethod · 0.95

Tested by

no test coverage detected