Interface Listener


  • public interface Listener
    Listener interface provides some events fired by Importer.
    • Method Detail

      • imported

        void imported​(Model bean)
        Invoked when line is imported
        Parameters:
        bean - the bean instance mapped to the imported values
      • imported

        void imported​(Integer total,
                      Integer success)
        Invoked when file is imported
        Parameters:
        total - the total number of records processed
        success - the total number of records successfuly imported
      • handle

        void handle​(Model bean,
                    Exception e)
        Invoked when bean failed managed
        Parameters:
        bean - the bean for which import failed
        e - the cause