Interface ResultHandler

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface ResultHandler
    Callback interface to handle results of one run of a ScraperTask.
    • Method Detail

      • handle

        void handle​(String job,
                    String alias,
                    Map<String,​Object> results)
        Callback handler.
        Parameters:
        job - name of the job (from config)
        alias - alias of the connection (not connection String)
        results - Results in the form alias to result value