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

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


* @param resource resource to harvest
* @param criteria criteria
* @return <code>true</code> if task has been sumbited
*/
public synchronized boolean add(RequestContext context, HrRecord resource, CommonCriteria criteria) {
  HjCreateRequest request = new HjCreateRequest(context, resource, criteria, false);
  boolean result = request.execute();
  notify();
  return result;
}
View Full Code Here


* @param resource resource to harvest
* @param criteria criteria
* @return <code>true</code> if task has been registered
*/
public synchronized boolean register(RequestContext context, HrRecord resource, CommonCriteria criteria) {
  HjCreateRequest request = new HjCreateRequest(context, resource, criteria, true);
  return request.execute();
}
View Full Code Here

TOP

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

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.