Class ValidationReportJob

java.lang.Object
org.openforis.concurrency.Worker
org.openforis.concurrency.Job
org.openforis.collect.manager.ValidationReportJob

@Component @Scope("prototype") public class ValidationReportJob extends org.openforis.concurrency.Job
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
    static enum 
     

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

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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     
     
     
    protected void
     
    protected void
     
    void
    run()
     
    void
     

    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, getResult, getStartTime, getStatus, getWeight, initialize, isAborted, isCompleted, isEnded, isFailed, isPending, isRunning, logDebug, logError, logInfo, logWarning, notifyAllStatusChangeListeners, onAborted, onCompleted, onFailed, prepareResult, removeStatusChangeListener, 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

    • ValidationReportJob

      public ValidationReportJob()
  • Method Details

    • run

      @Transactional(rollbackFor=java.lang.RuntimeException.class) public void run()
      Overrides:
      run in class org.openforis.concurrency.Worker
    • initializeInternalVariables

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

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

      protected void onEnd()
      Overrides:
      onEnd in class org.openforis.concurrency.Worker
    • getInput

      public ValidationReportJob.Input getInput()
    • setInput

      public void setInput(ValidationReportJob.Input input)
    • getOutputFile

      public File getOutputFile()