public RESTImportTask getRESTImportTask ( Integer importJobId , Integer taskId ) throws Exception { Response httpResponse = HttpUtil . get ( this . addEndPoint ( importJobId + "/tasks/" + taskId ) , this . username , this . password ) ; return ( RESTImportTask ) this . asEntity ( httpResponse . getBody ( ) , RESTImportTask . class ) ; }
Get an import task .