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

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


* @param uuid resource uuid
* @return <code>true</code> if matching taskDescriptor has been found and has been withdrawn
*/
public boolean cancel(RequestContext context, String uuid) {
  try {
    HjCancelRequest request = new HjCancelRequest(context, uuid);
    return request.execute();
  } catch (SQLException ex) {
    LOGGER.log(Level.WARNING, "[SYNCHRONIZER] Error canceling task", ex);
    return false;
  }
}
View Full Code Here

TOP

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

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.