Class DataQueryExectutorTask
- java.lang.Object
-
- org.openforis.concurrency.Worker
-
- org.openforis.concurrency.Task
-
- org.openforis.collect.datacleansing.DataQueryExectutorTask
-
@Component @Scope("prototype") public class DataQueryExectutorTask extends org.openforis.concurrency.Task- Author:
- S. Ricci
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDataQueryExectutorTask.DataQueryExecutorErrorstatic classDataQueryExectutorTask.DataQueryExecutorTaskInput
-
Constructor Summary
Constructors Constructor Description DataQueryExectutorTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected longcountTotalItems()protected voidexecute()DataQueryExectutorTask.DataQueryExecutorTaskInputgetInput()protected voidinitializeInternalVariables()protected voidonCompleted()voidsetInput(DataQueryExectutorTask.DataQueryExecutorTaskInput input)-
Methods inherited from class org.openforis.concurrency.Task
beforeExecuteInternal, getProcessedItems, getProgressPercent, getRemainingItems, getSkippedItems, getTotalItems, incrementProcessedItems, incrementSkippedItems, setProcessedItems, setTotalItems
-
Methods inherited from class org.openforis.concurrency.Worker
abort, addStatusChangeListener, afterExecute, afterExecuteInternal, beforeExecute, changeStatus, createInternalVariables, destroy, getDuration, getEndTime, getErrorMessage, getErrorMessageArgs, getId, getLastException, getName, getStartTime, getStatus, getWeight, initialize, isAborted, isCompleted, isEnded, isFailed, isPending, isRunning, logDebug, logError, logInfo, logWarning, notifyAllStatusChangeListeners, onAborted, onEnd, onFailed, release, removeStatusChangeListener, run, setErrorMessage, setErrorMessageArgs, setLastException, setWeight, validateInput, waitFor
-
-
-
-
Method Detail
-
countTotalItems
protected long countTotalItems()
- Overrides:
countTotalItemsin classorg.openforis.concurrency.Task
-
initializeInternalVariables
protected void initializeInternalVariables() throws Throwable- Overrides:
initializeInternalVariablesin classorg.openforis.concurrency.Worker- Throws:
Throwable
-
onCompleted
protected void onCompleted()
- Overrides:
onCompletedin classorg.openforis.concurrency.Worker
-
execute
@Transactional protected void execute() throws Throwable- Specified by:
executein classorg.openforis.concurrency.Worker- Throws:
Throwable
-
getInput
public DataQueryExectutorTask.DataQueryExecutorTaskInput getInput()
-
setInput
public void setInput(DataQueryExectutorTask.DataQueryExecutorTaskInput input)
-
-