Class GenericCSVImportStepTest.GenericCSVImportStepClon

    • Constructor Detail

      • GenericCSVImportStepClon

        public GenericCSVImportStepClon()
    • Method Detail

      • processObjects

        protected boolean processObjects​(java.util.Map map,
                                         CronJob cronJob)
                                  throws JaloBusinessException
        Description copied from class: GenericCSVImportStep
        Processes one parsed csv line. This method must be implemented by concrete subclasses which transforms this data.
        Specified by:
        processObjects in class GenericCSVImportStep
        Parameters:
        map - the data of the line as a Map Integer -> String - the key contains the column index staring with 0
        Returns:
        boolean returns true if processing has succeeded - the job will continue regardless of this result
        Throws:
        JaloBusinessException - may be thrown to indicate a process error - the job will abort after this line
      • undoStep

        protected void undoStep​(CronJob cronJob)
        Description copied from class: Step
        Starts the undo processing for this Step and the specified CronJob.
        Add your undo logic here to support the undo feature.
        Specified by:
        undoStep in class Step
        Parameters:
        cronJob - the CronJob which is used for execution
        See Also:
        Step.canUndo(CronJob)
      • getCharSet

        protected java.lang.String getCharSet()
        Description copied from class: GenericCSVImportStep
        define the character set for the performStep() method.
        Overrides:
        getCharSet in class GenericCSVImportStep
        Returns:
        the charset which should be used, default is "UTF-8"
      • isDebugEnabled

        public boolean isDebugEnabled()
        Overrides:
        isDebugEnabled in class Step
      • isInfoEnabled

        public boolean isInfoEnabled()
        Overrides:
        isInfoEnabled in class Step