lkelly93 / scheduler

Schedules and runs foreign code sequentially.
MIT License
0 stars 1 forks source link

Refactor java_runner.go #6

Closed lkelly93 closed 4 years ago

lkelly93 commented 4 years ago

Java runner is doing the file setup and creation in one method. I would like it to be abstracted a little for easier scalability later.

Things we need: Change class name (Make it a constant for now) Abstract the creation of the header file into a new method that will build the surrounding class structure. I will let whoever does this come up with the signature but it should allow me to change the class name and standard imports. Create a new closer method. Right now it should probably just add a "}" but it should have the option to add code to the end of the file if we want to add any of our own code to the java runner.

lkelly93 commented 4 years ago

John and I finished this in https://github.com/lkelly93/scheduler/pull/9