Package com.esri.gpt.catalog.harvest.jobs

Examples of com.esri.gpt.catalog.harvest.jobs.HjGetNextRequest.execute()


* @return task descriptor or <code>null</code> if no more tasks
* @throws SQLException if accessing database fails
*/
public Task next(RequestContext context) throws SQLException {
  HjGetNextRequest request = new HjGetNextRequest(context);
  request.execute();
  HjRecords records = request.getQueryResult().getRecords();
  if (records.size() != 1) {
    return null;
  }
  return new Task(records.get(0));
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.