// Path: src/main/java/org/calrissian/flowmix/api/Filter.java
// public interface Filter extends Serializable {
// 
//   boolean accept(Event event);
// }


import org.calrissian.flowmix.api.Filter;
import org.calrissian.mango.domain.Pair;
import java.util.List;
package org.calrissian.flowmix.core.model.op;



public class SplitOp implements FlowOp{

  public static final String SPLIT = "split";

  // default path should just pass through to the next component in the chain
  private Filter defaultPath;

  // events that path each given filter should go out to the stream with the specified id.
  private List<Pair<Filter, String>> paths;

  public SplitOp(Filter defaultPath, List<Pair<Filter,String>> paths) {
    this.defaultPath = defaultPath;
    this.paths = paths;
  }

  public Filter getDefaultPath() {
// Path: src/main/java/org/calrissian/flowmix/api/Filter.java
// public interface Filter extends Serializable {
// 
//   boolean accept(Event event);
// }


// Path: src/main/java/org/calrissian/flowmix/core/model/op/SplitOp.java
import org.calrissian.flowmix.api.Filter;
import org.calrissian.mango.domain.Pair;
import java.util.List;

package org.calrissian.flowmix.core.model.op;



public class SplitOp implements FlowOp{

  public static final String SPLIT = "split";

  // default path should just pass through to the next component in the chain
  private Filter defaultPath;

  // events that path each given filter should go out to the stream with the specified id.
  private List<Pair<Filter, String>> paths;

  public SplitOp(Filter defaultPath, List<Pair<Filter,String>> paths) {
    this.defaultPath = defaultPath;
    this.paths = paths;
  }

  public Filter getDefaultPath() {
    return defaultPath;