1 package org.drools.reteoo; 2 3 import org.drools.reteoo.impl.TupleSourceImpl; 4 import org.drools.rule.Declaration; 5 6 import java.util.Set; 7 import java.util.HashSet; 8 9 public class MockTupleSource extends TupleSourceImpl 10 { 11 private Set declarations; 12 13 public MockTupleSource() 14 { 15 this.declarations = new HashSet(); 16 } 17 18 public void addTupleDeclaration(Declaration decl) 19 { 20 this.declarations.add( decl ); 21 } 22 23 public Set getTupleDeclarations() 24 { 25 return this.declarations; 26 } 27 }

This page was automatically generated by Maven