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

Examples of com.esri.gpt.catalog.harvest.jobs.HjGetNextRequest


* @param context request context
* @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

Related Classes of com.esri.gpt.catalog.harvest.jobs.HjGetNextRequest

Copyright © 2018 www.massapicom. 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.