143144145146147148149150151152153
JobBean bean = new JobBean(); try { JSONObject json = (JSONObject) JSONValue.parse(ctx.getRequest().getReader()); bean.restore(json); } catch (IOException e) { throw new SqoopException(ServerError.SERVER_0003, "Can't read request content", e); }
4243444546474849505152
response = super.get(serverUrl + RESOURCE + xid); } JSONObject jsonObject = (JSONObject) JSONValue.parse(response); JobBean jobBean = new JobBean(); jobBean.restore(jsonObject); return jobBean; } public ValidationBean create(String serverUrl, MJob job) {
118119120121122123124125126127128
3940414243444546474849
121122123124125126127128129130131