Class RandomRecordsGenerationJob


  • @Component
    @Scope("prototype")
    public class RandomRecordsGenerationJob
    extends SurveyLockingJob
    Author:
    S. Ricci
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.openforis.concurrency.Worker

        org.openforis.concurrency.Worker.Status
    • Constructor Detail

      • RandomRecordsGenerationJob

        public RandomRecordsGenerationJob()
    • Method Detail

      • createInternalVariables

        protected void createInternalVariables()
                                        throws Throwable
        Overrides:
        createInternalVariables in class org.openforis.concurrency.Worker
        Throws:
        Throwable
      • buildTasks

        protected void buildTasks()
                           throws Throwable
        Specified by:
        buildTasks in class org.openforis.concurrency.Job
        Throws:
        Throwable
      • validateInput

        protected void validateInput()
                              throws Throwable
        Overrides:
        validateInput in class org.openforis.concurrency.Worker
        Throws:
        Throwable
      • afterExecute

        protected void afterExecute()
        Overrides:
        afterExecute in class org.openforis.concurrency.Worker
      • prepareResult

        protected Map<String,​Object> prepareResult()
        Overrides:
        prepareResult in class org.openforis.concurrency.Worker
      • setSurveyManager

        public void setSurveyManager​(SurveyManager surveyManager)
      • setUser

        public void setUser​(User user)
      • setPercentage

        public void setPercentage​(double percentage)
      • setSourceGridSurveyFileName

        public void setSourceGridSurveyFileName​(String sourceGridSurveyFileName)
      • setOldMeasurement

        public void setOldMeasurement​(String oldMeasurement)
      • setNewMeasurement

        public void setNewMeasurement​(String newMeasurement)
      • setCountOnly

        public void setCountOnly​(Boolean countOnly)