Class WebProcessController
java.lang.Object
org.alexmond.jsupervisor.ui.controller.WebProcessController
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAllProcesses(org.springframework.ui.Model model) getEvents(org.springframework.ui.Model model) processesDetails(String name, org.springframework.ui.Model model) processLog(String name, String type, int lines, org.springframework.ui.Model model) restartProcess(String name) startAll()startProcess(String name) stopAll()stopProcess(String name)
-
Constructor Details
-
WebProcessController
public WebProcessController()
-
-
Method Details
-
getAllProcesses
-
startProcess
-
stopProcess
-
restartProcess
-
startAll
- Throws:
IOException
-
stopAll
- Throws:
IOException
-
processesDetails
-
processLog
@GetMapping("/log/{name}") public String processLog(@PathVariable String name, @RequestParam(defaultValue="stdout") String type, @RequestParam(defaultValue="100") int lines, org.springframework.ui.Model model) throws IOException - Throws:
IOException
-
getEvents
-