starts a job , if already existing updates it schedule concode_field_sep Logger log concode_elem_sep SchedulerService schedulerService concode_field_sep ResponseEntity<JobsListedEvent> listJobs concode_elem_sep ResponseEntity<JobStoppedEvent> stopJob concode_elem_sep ResponseEntity<SchedulerStartedEvent> startScheduler concode_elem_sep ResponseEntity<SchedulerStoppedEvent> stopScheduler
ResponseEntity < JobStartedEvent > function ( @ PathVariable String arg0 , @ RequestParam ( required = false ) String arg1 ) { log . debug ( "srini_string" + arg0 + "srini_string" + arg1 ) ; JobStartedEvent loc0 = schedulerService . startJob ( new StartJobEvent ( arg0 , arg1 ) ) ; return new ResponseEntity < JobStartedEvent > ( loc0 , loc0 . isStarted ( ) ? HttpStatus . OK : HttpStatus . INTERNAL_SERVER_ERROR ) ; }