1 package us.codecraft.webmagic.pipeline; 2 3 import java.util.List; 4 5 /** 6 * Pipeline that can collect and store results. <br> 7 * Used for {@link us.codecraft.webmagic.Spider#getAll(java.util.Collection)} 8 * 9 * @author code4crafter@gmail.com 10 * @since 0.4.0 11 */ 12 public interface CollectorPipeline<T> extends Pipeline { 13 14 /** 15 * Get all results collected. 16 * 17 * @return collected results 18 */ 19 public List<T> getCollected(); 20 }