Class SpeciesImportJob

java.lang.Object
org.openforis.concurrency.Worker
org.openforis.concurrency.Job
org.openforis.collect.io.metadata.ReferenceDataImportSimpleJob<ParsingError,SpeciesImportTask>
org.openforis.collect.io.metadata.species.SpeciesImportJob

@Component @Scope("prototype") public class SpeciesImportJob extends ReferenceDataImportSimpleJob<ParsingError,SpeciesImportTask>
  • Nested Class Summary

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

    org.openforis.concurrency.Worker.Status
  • Field Summary

    Fields inherited from class org.openforis.collect.io.metadata.ReferenceDataImportSimpleJob

    file, survey
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     
    void
     
    void
    setOverwriteAll(boolean overwriteAll)
     
    void
    setTaxonomyId(int taxonomyId)
     

    Methods inherited from class org.openforis.concurrency.Job

    abort, addTask, addTask, addTasks, createTask, execute, getCurrentTask, getCurrentTaskIndex, getJobManager, getProgressPercent, getTasks, hasTaskToRun, initializeInternalVariables, 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, getResult, getStartTime, getStatus, getWeight, initialize, isAborted, isCompleted, isEnded, isFailed, isPending, isRunning, logDebug, logError, logInfo, logWarning, notifyAllStatusChangeListeners, onAborted, onCompleted, onEnd, onFailed, prepareResult, removeStatusChangeListener, run, setErrorMessage, setErrorMessageArgs, setLastException, setResult, setWeight, validateInput, waitFor

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SpeciesImportJob

      public SpeciesImportJob()
  • Method Details

    • buildTasks

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

      public void setTaxonomyId(int taxonomyId)
    • setCsvFileOptions

      public void setCsvFileOptions(CSVFileOptions csvFileOptions)
    • setOverwriteAll

      public void setOverwriteAll(boolean overwriteAll)