public void deleteJob ( String jobId ) throws SchedulerWsException { this . logger . finer ( "Deleting scheduled job: " + jobId ) ; WebResource path = this . resource . path ( UrlConstants . SCHEDULER ) . path ( jobId ) ; ClientResponse response = this . wsClient . createBuilder ( path ) . accept ( MediaType . APPLICATION_JSON ) . delete ( ClientResponse . class ) ; handleResponse ( response ) ; }
Deletes a scheduled job .