[jboss-svn-commits] JBL Code SVN: r25932 - in labs/jbossrules/trunk: drools-api/src/main/java/org/drools/agent and 12 other directories.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Fri Apr 3 06:28:37 EDT 2009
Author: mark.proctor at jboss.com
Date: 2009-04-03 06:28:37 -0400 (Fri, 03 Apr 2009)
New Revision: 25932
Modified:
labs/jbossrules/trunk/drools-api/pom.xml
labs/jbossrules/trunk/drools-api/src/main/java/org/drools/agent/KnowledgeAgentFactory.java
labs/jbossrules/trunk/drools-api/src/main/java/org/drools/builder/KnowledgeBuilder.java
labs/jbossrules/trunk/drools-api/src/main/java/org/drools/definition/rule/Rule.java
labs/jbossrules/trunk/drools-api/src/main/java/org/drools/runtime/rule/WorkingMemory.java
labs/jbossrules/trunk/drools-api/src/main/java/org/drools/runtime/rule/WorkingMemoryEntryPoint.java
labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/testframework/MockWorkingMemory.java
labs/jbossrules/trunk/drools-core/src/main/java/org/drools/common/NamedEntryPoint.java
labs/jbossrules/trunk/drools-core/src/main/java/org/drools/definitions/rule/impl/RuleImpl.java
labs/jbossrules/trunk/drools-core/src/main/java/org/drools/impl/SerializedRule.java
labs/jbossrules/trunk/drools-core/src/main/java/org/drools/reteoo/ReteooWorkingMemory.java
labs/jbossrules/trunk/drools-core/src/main/java/org/drools/rule/Rule.java
labs/jbossrules/trunk/drools-core/src/main/java/org/drools/runtime/rule/impl/SerializedRule.java
labs/jbossrules/trunk/drools-templates/.classpath
labs/jbossrules/trunk/drools-templates/src/test/java/org/drools/template/parser/ExternalSheetListenerTest.java
Log:
-metaAttributes are now supported in drools-api
-moved some methods related to objectstore from wm to wmep.
Modified: labs/jbossrules/trunk/drools-api/pom.xml
===================================================================
--- labs/jbossrules/trunk/drools-api/pom.xml 2009-04-03 03:03:50 UTC (rev 25931)
+++ labs/jbossrules/trunk/drools-api/pom.xml 2009-04-03 10:28:37 UTC (rev 25932)
@@ -88,11 +88,11 @@
<configuration>
<aggregate>false</aggregate>
- <!---doclet>ydoc.doclets.YStandard</doclet>
+ <doclet>ydoc.doclets.YStandard</doclet>
<docletPath> ${ydoc.home}/lib/ydoc.jar${path.separator}${ydoc.home}/lib/class2svg.jar${path.separator}${ydoc.home}/resources
</docletPath>
<additionalparam>-umlautogen -tag y.precondition -tag y.postcondition -tag y.complexity -tag param -tag return -tag see -tag y.uml
- </additionalparam-->
+ </additionalparam>
<links>
<link>http://java.sun.com/j2se/1.5.0/docs/api</link>
</links>
@@ -121,6 +121,5 @@
</configuration>
</plugin>
</plugins>
- </reporting>
-
+ </reporting>
</project>
Modified: labs/jbossrules/trunk/drools-api/src/main/java/org/drools/agent/KnowledgeAgentFactory.java
===================================================================
--- labs/jbossrules/trunk/drools-api/src/main/java/org/drools/agent/KnowledgeAgentFactory.java 2009-04-03 03:03:50 UTC (rev 25931)
+++ labs/jbossrules/trunk/drools-api/src/main/java/org/drools/agent/KnowledgeAgentFactory.java 2009-04-03 10:28:37 UTC (rev 25932)
@@ -67,7 +67,7 @@
* </p>
*
* <p>
- * Resource scanning is not on by default, it's a service and must be started, the same is for notification. This can be done via the ResourceFactory
+ * Resource scanning is not on by default, it's a service and must be started, the same is for notification. This can be done via the ResourceFactory.
* </p>
*
* <pre>
Modified: labs/jbossrules/trunk/drools-api/src/main/java/org/drools/builder/KnowledgeBuilder.java
===================================================================
--- labs/jbossrules/trunk/drools-api/src/main/java/org/drools/builder/KnowledgeBuilder.java 2009-04-03 03:03:50 UTC (rev 25931)
+++ labs/jbossrules/trunk/drools-api/src/main/java/org/drools/builder/KnowledgeBuilder.java 2009-04-03 10:28:37 UTC (rev 25932)
@@ -20,9 +20,9 @@
* </p>
*
* <p>
- * Always check the hasErrors() method after an addition, you should not add more resources
- * or get the KnowledgePackages if there are errors; KnowledgePackages() will return empty
- * if there are errors.
+ * It is best practice to always check the hasErrors() method after an addition, you should not add
+ * more resources or get the KnowledgePackages if there are errors. KnowledgePackages() will return
+ * an empty list if there are errors.
* </p>
*
* <p>
Modified: labs/jbossrules/trunk/drools-api/src/main/java/org/drools/definition/rule/Rule.java
===================================================================
--- labs/jbossrules/trunk/drools-api/src/main/java/org/drools/definition/rule/Rule.java 2009-04-03 03:03:50 UTC (rev 25931)
+++ labs/jbossrules/trunk/drools-api/src/main/java/org/drools/definition/rule/Rule.java 2009-04-03 10:28:37 UTC (rev 25932)
@@ -1,13 +1,18 @@
package org.drools.definition.rule;
+import java.util.Collection;
+
import org.drools.definition.KnowledgeDefinition;
public interface Rule
extends
KnowledgeDefinition {
-
+
+ String getPackageName();
+
String getName();
- public String getPackageName();
-
+ Collection<String> listMetaAttributes();
+
+ String getMetaAttribute(final String identifier);
}
Modified: labs/jbossrules/trunk/drools-api/src/main/java/org/drools/runtime/rule/WorkingMemory.java
===================================================================
--- labs/jbossrules/trunk/drools-api/src/main/java/org/drools/runtime/rule/WorkingMemory.java 2009-04-03 03:03:50 UTC (rev 25931)
+++ labs/jbossrules/trunk/drools-api/src/main/java/org/drools/runtime/rule/WorkingMemory.java 2009-04-03 10:28:37 UTC (rev 25932)
@@ -35,62 +35,6 @@
public <T extends SessionClock> T getSessionClock();
/**
- * Returns the fact handle associated with the given object. It is important to note that this
- * method behaves in accordance with the configured assert behaviour for this knowledge base
- * (either IDENTITY or EQUALITY).
- *
- * @param object
- * the fact for which the fact handle will be returned.
- *
- * @return the fact handle for the given object, or null in case no fact handle was found for the
- * given object.
- *
- * @see KnowledgeBaseConfiguration
- */
- FactHandle getFactHandle(Object object);
-
- /**
- * Returns the object associated with the given FactHandle.
- *
- * @param factHandle
- * @return
- */
- Object getObject(FactHandle factHandle);
-
- /**
- * Returns all facts from the current session.
- *
- * @return
- */
- Collection< ? extends Object > getObjects();
-
- /**
- * Returns all facts from the current session that are accepted by the given <code>ObjectFilter</code>.
- *
- * @param filter the filter to be applied to the returned collection of facts.
- *
- * @return
- */
- Collection< ? extends Object > getObjects(ObjectFilter filter);
-
- /**
- * Returns all <code>FactHandle</code>s from the current session.
- *
- * @return
- */
- Collection< ? extends FactHandle> getFactHandles();
-
- /**
- * Returns all <code>FactHandle</code>s from the current session for which the facts are accepted by
- * the given filter.
- *
- * @param filter the filter to be applied to the returned collection of <code>FactHandle</code>s.
- *
- * @return
- */
- Collection< ? extends FactHandle> getFactHandles(ObjectFilter filter);
-
- /**
* Returns a reference to this session's <code>Agenda</code>.
*
* @return
Modified: labs/jbossrules/trunk/drools-api/src/main/java/org/drools/runtime/rule/WorkingMemoryEntryPoint.java
===================================================================
--- labs/jbossrules/trunk/drools-api/src/main/java/org/drools/runtime/rule/WorkingMemoryEntryPoint.java 2009-04-03 03:03:50 UTC (rev 25931)
+++ labs/jbossrules/trunk/drools-api/src/main/java/org/drools/runtime/rule/WorkingMemoryEntryPoint.java 2009-04-03 10:28:37 UTC (rev 25932)
@@ -1,5 +1,10 @@
package org.drools.runtime.rule;
+import java.util.Collection;
+
+import org.drools.KnowledgeBaseConfiguration;
+import org.drools.runtime.ObjectFilter;
+
/**
* <p>An entry-point is an abstract channel through where facts are inserted into the engine.</p>
* <p>Drools 5 supports multiple entry-points into a single <code>StatefulKnowledgeBase</code>: the
@@ -55,4 +60,59 @@
void update(FactHandle handle,
Object object);
+ /**
+ * Returns the fact handle associated with the given object. It is important to note that this
+ * method behaves in accordance with the configured assert behaviour for this knowledge base
+ * (either IDENTITY or EQUALITY).
+ *
+ * @param object
+ * the fact for which the fact handle will be returned.
+ *
+ * @return the fact handle for the given object, or null in case no fact handle was found for the
+ * given object.
+ *
+ * @see KnowledgeBaseConfiguration
+ */
+ FactHandle getFactHandle(Object object);
+
+ /**
+ * Returns the object associated with the given FactHandle.
+ *
+ * @param factHandle
+ * @return
+ */
+ Object getObject(FactHandle factHandle);
+
+ /**
+ * Returns all facts from the current session.
+ *
+ * @return
+ */
+ Collection< ? extends Object > getObjects();
+
+ /**
+ * Returns all facts from the current session that are accepted by the given <code>ObjectFilter</code>.
+ *
+ * @param filter the filter to be applied to the returned collection of facts.
+ *
+ * @return
+ */
+ Collection< ? extends Object > getObjects(ObjectFilter filter);
+
+ /**
+ * Returns all <code>FactHandle</code>s from the current session.
+ *
+ * @return
+ */
+ Collection< ? extends FactHandle> getFactHandles();
+
+ /**
+ * Returns all <code>FactHandle</code>s from the current session for which the facts are accepted by
+ * the given filter.
+ *
+ * @param filter the filter to be applied to the returned collection of <code>FactHandle</code>s.
+ *
+ * @return
+ */
+ Collection< ? extends FactHandle> getFactHandles(ObjectFilter filter);
}
Modified: labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/testframework/MockWorkingMemory.java
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/testframework/MockWorkingMemory.java 2009-04-03 03:03:50 UTC (rev 25931)
+++ labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/testframework/MockWorkingMemory.java 2009-04-03 10:28:37 UTC (rev 25932)
@@ -47,6 +47,7 @@
import org.drools.runtime.Environment;
import org.drools.runtime.ExitPoint;
import org.drools.runtime.KnowledgeRuntime;
+import org.drools.runtime.ObjectFilter;
import org.drools.runtime.impl.BatchExecutionResultImpl;
import org.drools.spi.Activation;
import org.drools.spi.AgendaFilter;
@@ -541,4 +542,24 @@
}
+ public Collection< ? extends org.drools.runtime.rule.FactHandle> getFactHandles() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public Collection< ? extends org.drools.runtime.rule.FactHandle> getFactHandles(ObjectFilter filter) {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public Collection< ? extends Object> getObjects() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public Collection< ? extends Object> getObjects(ObjectFilter filter) {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
}
Modified: labs/jbossrules/trunk/drools-core/src/main/java/org/drools/common/NamedEntryPoint.java
===================================================================
--- labs/jbossrules/trunk/drools-core/src/main/java/org/drools/common/NamedEntryPoint.java 2009-04-03 03:03:50 UTC (rev 25931)
+++ labs/jbossrules/trunk/drools-core/src/main/java/org/drools/common/NamedEntryPoint.java 2009-04-03 10:28:37 UTC (rev 25932)
@@ -5,6 +5,7 @@
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
+import java.util.Collection;
import java.util.concurrent.locks.ReentrantLock;
import org.drools.FactException;
@@ -12,6 +13,7 @@
import org.drools.RuntimeDroolsException;
import org.drools.WorkingMemoryEntryPoint;
import org.drools.RuleBaseConfiguration.AssertBehaviour;
+import org.drools.impl.StatefulKnowledgeSessionImpl.ObjectStoreWrapper;
import org.drools.reteoo.EntryPointNode;
import org.drools.reteoo.LeftTuple;
import org.drools.reteoo.ObjectTypeConf;
@@ -482,5 +484,37 @@
public RuleBase getRuleBase() {
return this.ruleBase;
}
+
+ public FactHandle getFactHandle(Object object) {
+ return this.objectStore.getHandleForObject( object );
+ }
+ public Object getObject(org.drools.runtime.rule.FactHandle factHandle) {
+ return this.objectStore.getObjectForHandle( (InternalFactHandle) factHandle );
+ }
+
+ public Collection< ? extends FactHandle> getFactHandles() {
+ return new ObjectStoreWrapper( this.objectStore,
+ null,
+ ObjectStoreWrapper.FACT_HANDLE );
+ }
+
+ public Collection< ? extends FactHandle> getFactHandles(org.drools.runtime.ObjectFilter filter) {
+ return new ObjectStoreWrapper( this.objectStore,
+ filter,
+ ObjectStoreWrapper.FACT_HANDLE );
+ }
+
+ public Collection< ? > getObjects() {
+ return new ObjectStoreWrapper( this.objectStore,
+ null,
+ ObjectStoreWrapper.OBJECT );
+ }
+
+ public Collection< ? > getObjects(org.drools.runtime.ObjectFilter filter) {
+ return new ObjectStoreWrapper( this.objectStore,
+ filter,
+ ObjectStoreWrapper.OBJECT );
+ }
+
}
\ No newline at end of file
Modified: labs/jbossrules/trunk/drools-core/src/main/java/org/drools/definitions/rule/impl/RuleImpl.java
===================================================================
--- labs/jbossrules/trunk/drools-core/src/main/java/org/drools/definitions/rule/impl/RuleImpl.java 2009-04-03 03:03:50 UTC (rev 25931)
+++ labs/jbossrules/trunk/drools-core/src/main/java/org/drools/definitions/rule/impl/RuleImpl.java 2009-04-03 10:28:37 UTC (rev 25932)
@@ -1,5 +1,7 @@
package org.drools.definitions.rule.impl;
+import java.util.Collection;
+
import org.drools.rule.Rule;
public class RuleImpl implements org.drools.definition.rule.Rule {
@@ -16,4 +18,12 @@
public String getPackageName() {
return this.rule.getPackage();
}
+
+ public String getMetaAttribute(String identifier) {
+ return this.rule.getMetaAttribute( identifier );
+ }
+
+ public Collection<String> listMetaAttributes() {
+ return this.rule.getMetaAttributes().keySet();
+ }
}
Modified: labs/jbossrules/trunk/drools-core/src/main/java/org/drools/impl/SerializedRule.java
===================================================================
--- labs/jbossrules/trunk/drools-core/src/main/java/org/drools/impl/SerializedRule.java 2009-04-03 03:03:50 UTC (rev 25931)
+++ labs/jbossrules/trunk/drools-core/src/main/java/org/drools/impl/SerializedRule.java 2009-04-03 10:28:37 UTC (rev 25932)
@@ -4,6 +4,9 @@
import java.io.IOException;
import java.io.ObjectInput;
import java.io.ObjectOutput;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Map;
import org.drools.definition.rule.Rule;
@@ -13,6 +16,7 @@
Externalizable {
private String name;
private String packageName;
+ private Map<String, String> metaAttributes;
public SerializedRule() {
@@ -21,17 +25,24 @@
public SerializedRule(Rule rule) {
this.name = rule.getName();
this.packageName = rule.getPackageName();
+ Collection<String> identifiers = rule.listMetaAttributes();
+ this.metaAttributes = new HashMap<String, String>(identifiers.size());
+ for ( String identifier : identifiers ) {
+ this.metaAttributes.put( identifier, rule.getMetaAttribute( identifier ) );
+ }
}
public void writeExternal(ObjectOutput out) throws IOException {
out.writeUTF( name );
out.writeUTF( packageName );
+ out.writeObject( this.metaAttributes );
}
public void readExternal(ObjectInput in) throws IOException,
ClassNotFoundException {
name = in.readUTF();
packageName = in.readUTF();
+ this.metaAttributes = ( Map<String, String> ) in.readObject();
}
public String getName() {
@@ -41,5 +52,13 @@
public String getPackageName() {
return this.packageName;
}
+
+ public String getMetaAttribute(String identifier) {
+ return this.metaAttributes.get( identifier );
+ }
+ public Collection<String> listMetaAttributes() {
+ return this.metaAttributes.keySet();
+ }
+
}
Modified: labs/jbossrules/trunk/drools-core/src/main/java/org/drools/reteoo/ReteooWorkingMemory.java
===================================================================
--- labs/jbossrules/trunk/drools-core/src/main/java/org/drools/reteoo/ReteooWorkingMemory.java 2009-04-03 03:03:50 UTC (rev 25931)
+++ labs/jbossrules/trunk/drools-core/src/main/java/org/drools/reteoo/ReteooWorkingMemory.java 2009-04-03 10:28:37 UTC (rev 25932)
@@ -19,6 +19,7 @@
import java.io.IOException;
import java.io.ObjectInput;
import java.io.ObjectOutput;
+import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
@@ -43,6 +44,8 @@
import org.drools.rule.Query;
import org.drools.rule.Rule;
import org.drools.runtime.Environment;
+import org.drools.runtime.ObjectFilter;
+import org.drools.runtime.rule.FactHandle;
import org.drools.spi.FactHandleFactory;
import org.drools.spi.PropagationContext;
@@ -192,6 +195,8 @@
this.queryResults.put( query,
node );
}
+
+
public static class WorkingMemoryReteAssertAction
implements
@@ -345,4 +350,20 @@
}
}
+ public Collection< ? extends FactHandle> getFactHandles() {
+ throw new UnsupportedOperationException("this is implementedby StatefulKnowledgeImpl");
+ }
+
+ public Collection< ? extends FactHandle> getFactHandles(ObjectFilter filter) {
+ throw new UnsupportedOperationException("this is implementedby StatefulKnowledgeImpl");
+ }
+
+ public Collection< ? extends Object> getObjects() {
+ throw new UnsupportedOperationException("this is implementedby StatefulKnowledgeImpl");
+ }
+
+ public Collection< ? extends Object> getObjects(ObjectFilter filter) {
+ throw new UnsupportedOperationException("this is implementedby StatefulKnowledgeImpl");
+ }
+
}
Modified: labs/jbossrules/trunk/drools-core/src/main/java/org/drools/rule/Rule.java
===================================================================
--- labs/jbossrules/trunk/drools-core/src/main/java/org/drools/rule/Rule.java 2009-04-03 03:03:50 UTC (rev 25931)
+++ labs/jbossrules/trunk/drools-core/src/main/java/org/drools/rule/Rule.java 2009-04-03 10:28:37 UTC (rev 25932)
@@ -21,6 +21,7 @@
import java.io.ObjectInput;
import java.io.ObjectOutput;
import java.util.Calendar;
+import java.util.Collection;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
@@ -694,6 +695,11 @@
public String getMetaAttribute(final String identifier) {
return (String) this.metaAttributes.get( identifier );
}
+
+ public Collection<String> listMetaAttributes() {
+ return this.metaAttributes.keySet();
+ }
+
public void setParent(Rule parent) {
this.parent = parent;
}
Modified: labs/jbossrules/trunk/drools-core/src/main/java/org/drools/runtime/rule/impl/SerializedRule.java
===================================================================
--- labs/jbossrules/trunk/drools-core/src/main/java/org/drools/runtime/rule/impl/SerializedRule.java 2009-04-03 03:03:50 UTC (rev 25931)
+++ labs/jbossrules/trunk/drools-core/src/main/java/org/drools/runtime/rule/impl/SerializedRule.java 2009-04-03 10:28:37 UTC (rev 25932)
@@ -4,6 +4,9 @@
import java.io.IOException;
import java.io.ObjectInput;
import java.io.ObjectOutput;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Map;
import org.drools.definition.rule.Rule;
@@ -13,6 +16,7 @@
Externalizable {
private String name;
private String packageName;
+ private Map<String, String> metaAttributes;
public SerializedRule() {
@@ -21,17 +25,24 @@
public SerializedRule(Rule rule) {
this.name = rule.getName();
this.packageName = rule.getPackageName();
+ Collection<String> identifiers = rule.listMetaAttributes();
+ this.metaAttributes = new HashMap<String, String>(identifiers.size());
+ for ( String identifier : identifiers ) {
+ this.metaAttributes.put( identifier, rule.getMetaAttribute( identifier ) );
+ }
}
public void writeExternal(ObjectOutput out) throws IOException {
out.writeUTF( name );
out.writeUTF( packageName );
+ out.writeObject( this.metaAttributes );
}
public void readExternal(ObjectInput in) throws IOException,
ClassNotFoundException {
name = in.readUTF();
packageName = in.readUTF();
+ this.metaAttributes = ( Map<String, String> ) in.readObject();
}
public String getName() {
@@ -42,4 +53,12 @@
return this.packageName;
}
+ public String getMetaAttribute(String identifier) {
+ return this.metaAttributes.get( identifier );
+ }
+
+ public Collection<String> listMetaAttributes() {
+ return this.metaAttributes.keySet();
+ }
+
}
Modified: labs/jbossrules/trunk/drools-templates/.classpath
===================================================================
--- labs/jbossrules/trunk/drools-templates/.classpath 2009-04-03 03:03:50 UTC (rev 25931)
+++ labs/jbossrules/trunk/drools-templates/.classpath 2009-04-03 10:28:37 UTC (rev 25932)
@@ -16,8 +16,8 @@
<classpathentry kind="var" path="M2_REPO/janino/janino/2.5.15/janino-2.5.15.jar"/>
<classpathentry kind="var" path="M2_REPO/org/jmock/jmock/2.5.1/jmock-2.5.1.jar"/>
<classpathentry kind="var" path="M2_REPO/org/jmock/jmock-legacy/2.5.1/jmock-legacy-2.5.1.jar"/>
- <classpathentry kind="var" path="M2_REPO/joda-time/joda-time/1.5.2/joda-time-1.5.2.jar"/>
+ <classpathentry kind="var" path="M2_REPO/joda-time/joda-time/1.6/joda-time-1.6.jar"/>
<classpathentry kind="var" path="M2_REPO/junit/junit/3.8.1/junit-3.8.1.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/mvel/mvel2/2.0.7-SNAPSHOT/mvel2-2.0.7-SNAPSHOT.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/mvel/mvel2/2.0.8-SNAPSHOT/mvel2-2.0.8-SNAPSHOT.jar"/>
<classpathentry kind="var" path="M2_REPO/org/objenesis/objenesis/1.0/objenesis-1.0.jar"/>
</classpath>
\ No newline at end of file
Modified: labs/jbossrules/trunk/drools-templates/src/test/java/org/drools/template/parser/ExternalSheetListenerTest.java
===================================================================
--- labs/jbossrules/trunk/drools-templates/src/test/java/org/drools/template/parser/ExternalSheetListenerTest.java 2009-04-03 03:03:50 UTC (rev 25931)
+++ labs/jbossrules/trunk/drools-templates/src/test/java/org/drools/template/parser/ExternalSheetListenerTest.java 2009-04-03 10:28:37 UTC (rev 25932)
@@ -436,6 +436,26 @@
// TODO Auto-generated method stub
return null;
}
+
+ public Collection< ? extends org.drools.runtime.rule.FactHandle> getFactHandles() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public Collection< ? extends org.drools.runtime.rule.FactHandle> getFactHandles(ObjectFilter filter) {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public Collection< ? extends Object> getObjects() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public Collection< ? extends Object> getObjects(ObjectFilter filter) {
+ // TODO Auto-generated method stub
+ return null;
+ }
};
}
}
More information about the jboss-svn-commits
mailing list