[jboss-svn-commits] JBL Code SVN: r12755 - in labs/jbossrules/trunk/drools-core/src/main/java/org/drools/ruleflow/core: impl and 1 other directory.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Thu Jun 21 17:43:34 EDT 2007
Author: KrisVerlaenen
Date: 2007-06-21 17:43:34 -0400 (Thu, 21 Jun 2007)
New Revision: 12755
Modified:
labs/jbossrules/trunk/drools-core/src/main/java/org/drools/ruleflow/core/RuleFlowProcess.java
labs/jbossrules/trunk/drools-core/src/main/java/org/drools/ruleflow/core/impl/RuleFlowProcessImpl.java
Log:
JBRULES-940: Apply v4.0 API changes to IDE example code
JBRULES-939: globals should show up in code completion of drl editor
JBRULES-618: Ruleflow IDE integration
- Added code completion to constraint editor
- Added imports to constraint editor
Modified: labs/jbossrules/trunk/drools-core/src/main/java/org/drools/ruleflow/core/RuleFlowProcess.java
===================================================================
--- labs/jbossrules/trunk/drools-core/src/main/java/org/drools/ruleflow/core/RuleFlowProcess.java 2007-06-21 21:24:51 UTC (rev 12754)
+++ labs/jbossrules/trunk/drools-core/src/main/java/org/drools/ruleflow/core/RuleFlowProcess.java 2007-06-21 21:43:34 UTC (rev 12755)
@@ -90,4 +90,20 @@
* @return the variable names of this RuleFlow process
*/
String[] getVariableNames();
+
+ /**
+ * Returns the imports of this RuleFlow process.
+ * They are defined as a List of fully qualified class names.
+ *
+ * @return the imports of this RuleFlow process
+ */
+ List getImports();
+
+ /**
+ * Sets the imports of this RuleFlow process
+ *
+ * @param imports the imports as a List of fully qualified class names
+ */
+ void setImports(List imports);
+
}
Modified: labs/jbossrules/trunk/drools-core/src/main/java/org/drools/ruleflow/core/impl/RuleFlowProcessImpl.java
===================================================================
--- labs/jbossrules/trunk/drools-core/src/main/java/org/drools/ruleflow/core/impl/RuleFlowProcessImpl.java 2007-06-21 21:24:51 UTC (rev 12754)
+++ labs/jbossrules/trunk/drools-core/src/main/java/org/drools/ruleflow/core/impl/RuleFlowProcessImpl.java 2007-06-21 21:43:34 UTC (rev 12755)
@@ -45,6 +45,7 @@
private Map nodes;
private List variables;
private long lastNodeId;
+ private List imports;
public RuleFlowProcessImpl() {
super();
@@ -131,4 +132,12 @@
throw new IllegalArgumentException( "A ruleflow process cannot have more than one end node!" );
}
}
+
+ public List getImports() {
+ return imports;
+ }
+
+ public void setImports(List imports) {
+ this.imports = imports;
+ }
}
More information about the jboss-svn-commits
mailing list