Class WatcherServiceController

java.lang.Object
eu.rarogsoftware.rarog.platform.plugins.quickreload.rest.WatcherServiceController

@RequestMapping(path="watcher", produces="application/json") @AdminOnly public class WatcherServiceController extends Object
  • Constructor Details

    • WatcherServiceController

      public WatcherServiceController(QuickReloadService quickReloadService)
  • Method Details

    • getListOfWatchedBinaries

      @GetMapping("/") public List<String> getListOfWatchedBinaries()
    • stopWatcher

      @PostMapping("/stop") public org.springframework.http.ResponseEntity<Void> stopWatcher()
    • startWatcher

      @PostMapping("/start") public org.springframework.http.ResponseEntity<Void> startWatcher()
    • addToWatchList

      @PostMapping("/watch") public org.springframework.http.ResponseEntity<Map<String,Object>> addToWatchList(@RequestBody WatcherServiceController.PathBean pathBean)
    • install

      @PostMapping("/install") public org.springframework.http.ResponseEntity<Map<String,Object>> install(@RequestBody WatcherServiceController.PathBean pathBean)
    • remoteFromWatchList

      @PostMapping("/unwatch") public org.springframework.http.ResponseEntity<Map<String,Object>> remoteFromWatchList(@RequestBody WatcherServiceController.PathBean pathBean)