Class ProcessMachineController

java.lang.Object
org.xbricks.common.generic.controllers.ProcessMachineController

@RestController @RequestMapping("/aportal/processMachine") public class ProcessMachineController extends Object
  • Constructor Details

    • ProcessMachineController

      public ProcessMachineController()
  • Method Details

    • start

      @PostMapping("/start") public String start(@RequestParam("type") String type, @RequestParam("computer") String computer, @RequestParam("command") String command) throws IOException
      Throws:
      IOException
    • stop

      @PostMapping("stop") public String stop()