1 package net.suberic.pooka.filter; 2 import net.suberic.pooka.gui.MessageProxy; 3 import java.util.List; 4 5 public interface FilterAction { 6 7 /** 8 * Runs the filterAction on each MessageProxy in the filteredMessages 9 * Vector. 10 * 11 * @param filteredMessages messages which have met the filter condition 12 * and need to have the FilterAction performed on them. 13 * 14 * @return messages which are removed from their original folder 15 * by the filter. 16 */ 17 public List performFilter(List filteredMessages); 18 19 /** 20 * Initializes the FilterAction from the sourceProperty given. 21 */ 22 23 public void initializeFilter(String sourceProperty); 24 } 25