Package org.openforis.collect.model
Class RecordCoordinatesKmlGeneratorJob
- java.lang.Object
-
- org.openforis.concurrency.Worker
-
- org.openforis.concurrency.Job
-
- org.openforis.collect.model.RecordIteratorJob
-
- org.openforis.collect.model.RecordCoordinatesKmlGeneratorJob
-
@Component @Scope("singleton") public class RecordCoordinatesKmlGeneratorJob extends RecordIteratorJob
-
-
Constructor Summary
Constructors Constructor Description RecordCoordinatesKmlGeneratorJob()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidinitializeInternalVariables()protected voidonCompleted()protected voidprocessRecord(CollectRecord record)voidsetCoordinateOperations(CoordinateOperations coordinateOperations)voidsetNodeDefinition(CoordinateAttributeDefinition nodeDefinition)voidsetOutput(OutputStream output)-
Methods inherited from class org.openforis.collect.model.RecordIteratorJob
buildTasks, setRecordFilter, setRecordManager
-
Methods inherited from class org.openforis.concurrency.Job
abort, addTask, addTask, addTasks, createTask, execute, getCurrentTask, getCurrentTaskIndex, getJobManager, getProgressPercent, getTasks, hasTaskToRun, initializeTask, nextTask, onTaskCompleted, onTaskEnd, onTaskFailed, release, runTask, setJobManager
-
Methods inherited from class org.openforis.concurrency.Worker
addStatusChangeListener, afterExecute, afterExecuteInternal, beforeExecute, beforeExecuteInternal, 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, removeStatusChangeListener, run, setErrorMessage, setErrorMessageArgs, setLastException, setWeight, validateInput, waitFor
-
-
-
-
Method Detail
-
initializeInternalVariables
protected void initializeInternalVariables() throws Throwable- Overrides:
initializeInternalVariablesin classorg.openforis.concurrency.Job- Throws:
Throwable
-
processRecord
protected void processRecord(CollectRecord record)
- Specified by:
processRecordin classRecordIteratorJob
-
onCompleted
protected void onCompleted()
- Overrides:
onCompletedin classorg.openforis.concurrency.Worker
-
setNodeDefinition
public void setNodeDefinition(CoordinateAttributeDefinition nodeDefinition)
-
setOutput
public void setOutput(OutputStream output)
-
setCoordinateOperations
public void setCoordinateOperations(CoordinateOperations coordinateOperations)
-
-