Interface CollectorPipeline<T>

All Superinterfaces:
Pipeline
All Known Implementing Classes:
ResultItemsCollectorPipeline

public interface CollectorPipeline<T> extends Pipeline
Pipeline that can collect and store results.
Used for Spider.getAll(java.util.Collection)
Since:
0.4.0
Author:
code4crafter@gmail.com
  • Method Summary

    Modifier and Type
    Method
    Description
    Get all results collected.

    Methods inherited from interface us.codecraft.webmagic.pipeline.Pipeline

    process
  • Method Details

    • getCollected

      List<T> getCollected()
      Get all results collected.
      Returns:
      collected results