com.esri.gpt.catalog.harvest.jobs
Class HjGetNextRequest
java.lang.Object
com.esri.gpt.framework.sql.BaseDao
com.esri.gpt.framework.request.DaoRequest<RequestDefinition<HjCriteria,HjResult>>
com.esri.gpt.catalog.harvest.jobs.HjRequest
com.esri.gpt.catalog.harvest.jobs.HjGetNextRequest
- All Implemented Interfaces:
- IRequest<RequestDefinition<HjCriteria,HjResult>>
public class HjGetNextRequest
- extends HjRequest
Request to find next job to run.
Next job if present, will be placed in query result. Status will be
automatically changed to HjRecord.JobStatus.Running. If no more jobs
exist, no any record will be placed in HjQueryResult.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HjGetNextRequest
public HjGetNextRequest(RequestContext requestContext)
- Creates instance of the request.
- Parameters:
requestContext - request context
execute
public void execute()
throws SQLException
- Executes request.
- Throws:
SQLException - if accessing database failed
logExpression
protected void logExpression(String expression)
- Description copied from class:
BaseDao
- Logs a SQL expression.
- Overrides:
logExpression in class BaseDao
- Parameters:
expression - the expression to log
Copyright 2011 Environmental Systems Research Institute.
All rights reserved.
Use is subject to
license terms.