Class CalibrationJsonController
java.lang.Object
gov.llnl.gnem.apps.coda.calibration.application.web.CalibrationJsonController
@RestController
@CrossOrigin
@RequestMapping(value={"/api/v1/calibration","/api/v1/calibration/"},
name="CalibrationJsonController",
produces="application/json")
public class CalibrationJsonController
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<?>
cancelCalibration
(@Valid Long id, org.springframework.validation.BindingResult result) org.springframework.http.ResponseEntity<?>
org.springframework.http.ResponseEntity<?>
deleteBatchByEvids
(@Valid List<String> eventIds, org.springframework.validation.BindingResult result) org.springframework.http.ResponseEntity<?>
runCalibration
(Boolean autoPickingEnabled) void
setService
(CalibrationService service)
-
Constructor Details
-
CalibrationJsonController
-
-
Method Details
-
runCalibration
@GetMapping(value="/start/{autoPickingEnabled}", name="runCalibration") public org.springframework.http.ResponseEntity<?> runCalibration(@PathVariable(name="autoPickingEnabled",required=false) Boolean autoPickingEnabled) -
cancelCalibration
@PostMapping(value={"/cancel","/cancel/"}, name="cancelCalibration") public org.springframework.http.ResponseEntity<?> cancelCalibration(@Valid @RequestBody @Valid Long id, org.springframework.validation.BindingResult result) -
clearData
@GetMapping(value={"/clear-data","/clear-data/"}, name="clearData") public org.springframework.http.ResponseEntity<?> clearData() -
deleteBatchByEvids
-
getService
-
setService
-