[jboss-svn-commits] JBL Code SVN: r17639 - labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Tue Jan 8 20:39:52 EST 2008
Author: KrisVerlaenen
Date: 2008-01-08 20:39:52 -0500 (Tue, 08 Jan 2008)
New Revision: 17639
Added:
labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/empty_ruleflow.rfm
labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/error_ruleflow.rfm
labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/ruleflow.rfm
labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/test_ActionDialects.rf
labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/test_ActionDialects.rfm
labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/test_ConstraintDialects.rf
labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/test_ConstraintDialects.rfm
labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/test_ruleflowClear.rf
labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/test_ruleflowClear.rfm
Log:
JBRULES-1408: Refactoring of ruleflow to act as a pluggable process engine
Added: labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/empty_ruleflow.rfm
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/empty_ruleflow.rfm (rev 0)
+++ labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/empty_ruleflow.rfm 2008-01-09 01:39:52 UTC (rev 17639)
@@ -0,0 +1,55 @@
+<org.drools.ruleflow.core.RuleFlowProcess id="1">
+ <nodeContainer class="org.drools.ruleflow.core.RuleFlowProcess$WorkflowProcessNodeContainer" id="2">
+ <outer-class class="org.drools.ruleflow.core.RuleFlowProcess" reference="1"/>
+ <nodes id="3">
+ <entry>
+ <long>1</long>
+ <org.drools.workflow.core.node.StartNode id="4">
+ <id>1</id>
+ <name>Start</name>
+ <incomingConnections id="5"/>
+ <outgoingConnections id="6">
+ <entry>
+ <string>DROOLS_DEFAULT</string>
+ <list id="7">
+ <org.drools.workflow.core.impl.ConnectionImpl id="8">
+ <from class="org.drools.workflow.core.node.StartNode" reference="4"/>
+ <to class="org.drools.workflow.core.node.EndNode" id="9">
+ <id>2</id>
+ <name>End</name>
+ <incomingConnections id="10">
+ <entry>
+ <string>DROOLS_DEFAULT</string>
+ <list id="11">
+ <org.drools.workflow.core.impl.ConnectionImpl reference="8"/>
+ </list>
+ </entry>
+ </incomingConnections>
+ <outgoingConnections id="12"/>
+ <nodeContainer class="org.drools.ruleflow.core.RuleFlowProcess" reference="1"/>
+ </to>
+ <fromType>DROOLS_DEFAULT</fromType>
+ <toType>DROOLS_DEFAULT</toType>
+ </org.drools.workflow.core.impl.ConnectionImpl>
+ </list>
+ </entry>
+ </outgoingConnections>
+ <nodeContainer class="org.drools.ruleflow.core.RuleFlowProcess" reference="1"/>
+ </org.drools.workflow.core.node.StartNode>
+ </entry>
+ <entry>
+ <long>2</long>
+ <org.drools.workflow.core.node.EndNode reference="9"/>
+ </entry>
+ </nodes>
+ <lastNodeId>2</lastNodeId>
+ </nodeContainer>
+ <id>com.sample.ruleflow</id>
+ <name>empty_ruleflow</name>
+ <version>1.0</version>
+ <type>RuleFlow</type>
+ <packageName>com.empty</packageName>
+ <variableScope class="org.drools.process.core.impl.VariableScopeImpl" id="13">
+ <variables id="14"/>
+ </variableScope>
+</org.drools.ruleflow.core.RuleFlowProcess>
\ No newline at end of file
Added: labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/error_ruleflow.rfm
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/error_ruleflow.rfm (rev 0)
+++ labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/error_ruleflow.rfm 2008-01-09 01:39:52 UTC (rev 17639)
@@ -0,0 +1,54 @@
+<org.drools.ruleflow.core.RuleFlowProcess id="1">
+ <nodeContainer class="org.drools.ruleflow.core.RuleFlowProcess$WorkflowProcessNodeContainer" id="2">
+ <outer-class class="org.drools.ruleflow.core.RuleFlowProcess" reference="1"/>
+ <nodes id="3">
+ <entry>
+ <long>1</long>
+ <org.drools.workflow.core.node.StartNode id="4">
+ <id>1</id>
+ <name>Start</name>
+ <incomingConnections id="5"/>
+ <outgoingConnections id="6">
+ <entry>
+ <string>DROOLS_DEFAULT</string>
+ <list id="7">
+ <org.drools.workflow.core.impl.ConnectionImpl id="8">
+ <from class="org.drools.workflow.core.node.StartNode" reference="4"/>
+ <to class="org.drools.workflow.core.node.EndNode" id="9">
+ <id>2</id>
+ <name>End</name>
+ <incomingConnections id="10">
+ <entry>
+ <string>DROOLS_DEFAULT</string>
+ <list id="11">
+ <org.drools.workflow.core.impl.ConnectionImpl reference="8"/>
+ </list>
+ </entry>
+ </incomingConnections>
+ <outgoingConnections id="12"/>
+ <nodeContainer class="org.drools.ruleflow.core.RuleFlowProcess" reference="1"/>
+ </to>
+ <fromType>DROOLS_DEFAULT</fromType>
+ <toType>DROOLS_DEFAULT</toType>
+ </org.drools.workflow.core.impl.ConnectionImpl>
+ </list>
+ </entry>
+ </outgoingConnections>
+ <nodeContainer class="org.drools.ruleflow.core.RuleFlowProcess" reference="1"/>
+ </org.drools.workflow.core.node.StartNode>
+ </entry>
+ <entry>
+ <long>2</long>
+ <org.drools.workflow.core.node.EndNode reference="9"/>
+ </entry>
+ </nodes>
+ <lastNodeId>2</lastNodeId>
+ </nodeContainer>
+ <id>com.sample.ruleflow</id>
+ <name>empty_ruleflow</name>
+ <version>1.0</version>
+ <type>RuleFlow</type>
+ <variableScope class="org.drools.process.core.impl.VariableScopeImpl" id="13">
+ <variables id="14"/>
+ </variableScope>
+</org.drools.ruleflow.core.RuleFlowProcess>
\ No newline at end of file
Added: labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/ruleflow.rfm
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/ruleflow.rfm (rev 0)
+++ labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/ruleflow.rfm 2008-01-09 01:39:52 UTC (rev 17639)
@@ -0,0 +1,243 @@
+<org.drools.ruleflow.core.RuleFlowProcess id="1">
+ <nodeContainer class="org.drools.ruleflow.core.RuleFlowProcess$WorkflowProcessNodeContainer" id="2">
+ <outer-class class="org.drools.ruleflow.core.RuleFlowProcess" reference="1"/>
+ <nodes id="3">
+ <entry>
+ <long>1</long>
+ <org.drools.workflow.core.node.StartNode id="4">
+ <id>1</id>
+ <name>Start</name>
+ <incomingConnections id="5"/>
+ <outgoingConnections id="6">
+ <entry>
+ <string>DROOLS_DEFAULT</string>
+ <list id="7">
+ <org.drools.workflow.core.impl.ConnectionImpl id="8">
+ <from class="org.drools.workflow.core.node.StartNode" reference="4"/>
+ <to class="org.drools.workflow.core.node.RuleSetNode" id="9">
+ <ruleFlowGroup>flowgroup-1</ruleFlowGroup>
+ <id>2</id>
+ <name>RuleSet1</name>
+ <incomingConnections id="10">
+ <entry>
+ <string>DROOLS_DEFAULT</string>
+ <list id="11">
+ <org.drools.workflow.core.impl.ConnectionImpl reference="8"/>
+ </list>
+ </entry>
+ </incomingConnections>
+ <outgoingConnections id="12">
+ <entry>
+ <string>DROOLS_DEFAULT</string>
+ <list id="13">
+ <org.drools.workflow.core.impl.ConnectionImpl id="14">
+ <from class="org.drools.workflow.core.node.RuleSetNode" reference="9"/>
+ <to class="org.drools.workflow.core.node.Split" id="15">
+ <type>1</type>
+ <constraints id="16"/>
+ <id>5</id>
+ <name>Split</name>
+ <incomingConnections id="17">
+ <entry>
+ <string>DROOLS_DEFAULT</string>
+ <list id="18">
+ <org.drools.workflow.core.impl.ConnectionImpl reference="14"/>
+ </list>
+ </entry>
+ </incomingConnections>
+ <outgoingConnections id="19">
+ <entry>
+ <string>DROOLS_DEFAULT</string>
+ <list id="20">
+ <org.drools.workflow.core.impl.ConnectionImpl id="21">
+ <from class="org.drools.workflow.core.node.Split" reference="15"/>
+ <to class="org.drools.workflow.core.node.RuleSetNode" id="22">
+ <ruleFlowGroup>flowgroup-2</ruleFlowGroup>
+ <id>10</id>
+ <name>RuleSet2</name>
+ <incomingConnections id="23">
+ <entry>
+ <string>DROOLS_DEFAULT</string>
+ <list id="24">
+ <org.drools.workflow.core.impl.ConnectionImpl reference="21"/>
+ </list>
+ </entry>
+ </incomingConnections>
+ <outgoingConnections id="25">
+ <entry>
+ <string>DROOLS_DEFAULT</string>
+ <list id="26">
+ <org.drools.workflow.core.impl.ConnectionImpl id="27">
+ <from class="org.drools.workflow.core.node.RuleSetNode" reference="22"/>
+ <to class="org.drools.workflow.core.node.Join" id="28">
+ <type>1</type>
+ <id>6</id>
+ <name>Join</name>
+ <incomingConnections id="29">
+ <entry>
+ <string>DROOLS_DEFAULT</string>
+ <list id="30">
+ <org.drools.workflow.core.impl.ConnectionImpl reference="27"/>
+ <org.drools.workflow.core.impl.ConnectionImpl id="31">
+ <from class="org.drools.workflow.core.node.RuleSetNode" id="32">
+ <ruleFlowGroup>flowgroup-3</ruleFlowGroup>
+ <id>11</id>
+ <name>RuleSet3</name>
+ <incomingConnections id="33">
+ <entry>
+ <string>DROOLS_DEFAULT</string>
+ <list id="34">
+ <org.drools.workflow.core.impl.ConnectionImpl id="35">
+ <from class="org.drools.workflow.core.node.Split" reference="15"/>
+ <to class="org.drools.workflow.core.node.RuleSetNode" reference="32"/>
+ <fromType>DROOLS_DEFAULT</fromType>
+ <toType>DROOLS_DEFAULT</toType>
+ </org.drools.workflow.core.impl.ConnectionImpl>
+ </list>
+ </entry>
+ </incomingConnections>
+ <outgoingConnections id="36">
+ <entry>
+ <string>DROOLS_DEFAULT</string>
+ <list id="37">
+ <org.drools.workflow.core.impl.ConnectionImpl reference="31"/>
+ </list>
+ </entry>
+ </outgoingConnections>
+ <nodeContainer class="org.drools.ruleflow.core.RuleFlowProcess" reference="1"/>
+ </from>
+ <to class="org.drools.workflow.core.node.Join" reference="28"/>
+ <fromType>DROOLS_DEFAULT</fromType>
+ <toType>DROOLS_DEFAULT</toType>
+ </org.drools.workflow.core.impl.ConnectionImpl>
+ </list>
+ </entry>
+ </incomingConnections>
+ <outgoingConnections id="38">
+ <entry>
+ <string>DROOLS_DEFAULT</string>
+ <list id="39">
+ <org.drools.workflow.core.impl.ConnectionImpl id="40">
+ <from class="org.drools.workflow.core.node.Join" reference="28"/>
+ <to class="org.drools.workflow.core.node.RuleSetNode" id="41">
+ <ruleFlowGroup>flowgroup-4</ruleFlowGroup>
+ <id>9</id>
+ <name>RuleSet4</name>
+ <incomingConnections id="42">
+ <entry>
+ <string>DROOLS_DEFAULT</string>
+ <list id="43">
+ <org.drools.workflow.core.impl.ConnectionImpl reference="40"/>
+ </list>
+ </entry>
+ </incomingConnections>
+ <outgoingConnections id="44">
+ <entry>
+ <string>DROOLS_DEFAULT</string>
+ <list id="45">
+ <org.drools.workflow.core.impl.ConnectionImpl id="46">
+ <from class="org.drools.workflow.core.node.RuleSetNode" reference="41"/>
+ <to class="org.drools.workflow.core.node.EndNode" id="47">
+ <id>4</id>
+ <name>End</name>
+ <incomingConnections id="48">
+ <entry>
+ <string>DROOLS_DEFAULT</string>
+ <list id="49">
+ <org.drools.workflow.core.impl.ConnectionImpl reference="46"/>
+ </list>
+ </entry>
+ </incomingConnections>
+ <outgoingConnections id="50"/>
+ <nodeContainer class="org.drools.ruleflow.core.RuleFlowProcess" reference="1"/>
+ </to>
+ <fromType>DROOLS_DEFAULT</fromType>
+ <toType>DROOLS_DEFAULT</toType>
+ </org.drools.workflow.core.impl.ConnectionImpl>
+ </list>
+ </entry>
+ </outgoingConnections>
+ <nodeContainer class="org.drools.ruleflow.core.RuleFlowProcess" reference="1"/>
+ </to>
+ <fromType>DROOLS_DEFAULT</fromType>
+ <toType>DROOLS_DEFAULT</toType>
+ </org.drools.workflow.core.impl.ConnectionImpl>
+ </list>
+ </entry>
+ </outgoingConnections>
+ <nodeContainer class="org.drools.ruleflow.core.RuleFlowProcess" reference="1"/>
+ </to>
+ <fromType>DROOLS_DEFAULT</fromType>
+ <toType>DROOLS_DEFAULT</toType>
+ </org.drools.workflow.core.impl.ConnectionImpl>
+ </list>
+ </entry>
+ </outgoingConnections>
+ <nodeContainer class="org.drools.ruleflow.core.RuleFlowProcess" reference="1"/>
+ </to>
+ <fromType>DROOLS_DEFAULT</fromType>
+ <toType>DROOLS_DEFAULT</toType>
+ </org.drools.workflow.core.impl.ConnectionImpl>
+ <org.drools.workflow.core.impl.ConnectionImpl reference="35"/>
+ </list>
+ </entry>
+ </outgoingConnections>
+ <nodeContainer class="org.drools.ruleflow.core.RuleFlowProcess" reference="1"/>
+ </to>
+ <fromType>DROOLS_DEFAULT</fromType>
+ <toType>DROOLS_DEFAULT</toType>
+ </org.drools.workflow.core.impl.ConnectionImpl>
+ </list>
+ </entry>
+ </outgoingConnections>
+ <nodeContainer class="org.drools.ruleflow.core.RuleFlowProcess" reference="1"/>
+ </to>
+ <fromType>DROOLS_DEFAULT</fromType>
+ <toType>DROOLS_DEFAULT</toType>
+ </org.drools.workflow.core.impl.ConnectionImpl>
+ </list>
+ </entry>
+ </outgoingConnections>
+ <nodeContainer class="org.drools.ruleflow.core.RuleFlowProcess" reference="1"/>
+ </org.drools.workflow.core.node.StartNode>
+ </entry>
+ <entry>
+ <long>2</long>
+ <org.drools.workflow.core.node.RuleSetNode reference="9"/>
+ </entry>
+ <entry>
+ <long>4</long>
+ <org.drools.workflow.core.node.EndNode reference="47"/>
+ </entry>
+ <entry>
+ <long>5</long>
+ <org.drools.workflow.core.node.Split reference="15"/>
+ </entry>
+ <entry>
+ <long>6</long>
+ <org.drools.workflow.core.node.Join reference="28"/>
+ </entry>
+ <entry>
+ <long>9</long>
+ <org.drools.workflow.core.node.RuleSetNode reference="41"/>
+ </entry>
+ <entry>
+ <long>10</long>
+ <org.drools.workflow.core.node.RuleSetNode reference="22"/>
+ </entry>
+ <entry>
+ <long>11</long>
+ <org.drools.workflow.core.node.RuleSetNode reference="32"/>
+ </entry>
+ </nodes>
+ <lastNodeId>11</lastNodeId>
+ </nodeContainer>
+ <id>0</id>
+ <name>ruleflow</name>
+ <version>1</version>
+ <type>RuleFlow</type>
+ <packageName>com.sample</packageName>
+ <variableScope class="org.drools.process.core.impl.VariableScopeImpl" id="51">
+ <variables id="52"/>
+ </variableScope>
+</org.drools.ruleflow.core.RuleFlowProcess>
\ No newline at end of file
Added: labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/test_ActionDialects.rf
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/test_ActionDialects.rf (rev 0)
+++ labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/test_ActionDialects.rf 2008-01-09 01:39:52 UTC (rev 17639)
@@ -0,0 +1,296 @@
+<org.drools.eclipse.flow.ruleflow.core.RuleFlowProcessWrapper id="1" serialization="custom">
+ <org.drools.eclipse.flow.common.editor.core.ProcessWrapper>
+ <default>
+ <elements id="2">
+ <entry>
+ <string>3-Wrapper</string>
+ <org.drools.eclipse.flow.ruleflow.core.ActionWrapper id="3" serialization="custom">
+ <org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
+ <default>
+ <constraint id="4">
+ <x>239</x>
+ <y>99</y>
+ <width>80</width>
+ <height>40</height>
+ </constraint>
+ <element class="org.drools.workflow.core.node.ActionNode" id="5">
+ <action class="org.drools.workflow.core.impl.DroolsConsequenceAction" id="6">
+ <dialect>java</dialect>
+ <consequence>list.add( "java was here" )</consequence>
+ </action>
+ <id>3</id>
+ <name>java</name>
+ <incomingConnections id="7">
+ <entry>
+ <string>DROOLS_DEFAULT</string>
+ <list id="8">
+ <org.drools.workflow.core.impl.ConnectionImpl id="9">
+ <from class="org.drools.workflow.core.node.ActionNode" id="10">
+ <action class="org.drools.workflow.core.impl.DroolsConsequenceAction" id="11">
+ <dialect>mvel</dialect>
+ <consequence>list.add("mvel was here")</consequence>
+ </action>
+ <id>2</id>
+ <name>mvel</name>
+ <incomingConnections id="12">
+ <entry>
+ <string>DROOLS_DEFAULT</string>
+ <list id="13">
+ <org.drools.workflow.core.impl.ConnectionImpl id="14">
+ <from class="org.drools.workflow.core.node.StartNode" id="15">
+ <id>1</id>
+ <name>Start</name>
+ <incomingConnections id="16"/>
+ <outgoingConnections id="17">
+ <entry>
+ <string>DROOLS_DEFAULT</string>
+ <list id="18">
+ <org.drools.workflow.core.impl.ConnectionImpl reference="14"/>
+ </list>
+ </entry>
+ </outgoingConnections>
+ <nodeContainer class="org.drools.ruleflow.core.RuleFlowProcess" id="19">
+ <nodeContainer class="org.drools.ruleflow.core.RuleFlowProcess$WorkflowProcessNodeContainer" id="20">
+ <outer-class class="org.drools.ruleflow.core.RuleFlowProcess" reference="19"/>
+ <nodes id="21">
+ <entry>
+ <long>1</long>
+ <org.drools.workflow.core.node.StartNode reference="15"/>
+ </entry>
+ <entry>
+ <long>2</long>
+ <org.drools.workflow.core.node.ActionNode reference="10"/>
+ </entry>
+ <entry>
+ <long>3</long>
+ <org.drools.workflow.core.node.ActionNode reference="5"/>
+ </entry>
+ <entry>
+ <long>4</long>
+ <org.drools.workflow.core.node.EndNode id="22">
+ <id>4</id>
+ <name>End</name>
+ <incomingConnections id="23">
+ <entry>
+ <string>DROOLS_DEFAULT</string>
+ <list id="24">
+ <org.drools.workflow.core.impl.ConnectionImpl id="25">
+ <from class="org.drools.workflow.core.node.ActionNode" reference="5"/>
+ <to class="org.drools.workflow.core.node.EndNode" reference="22"/>
+ <fromType>DROOLS_DEFAULT</fromType>
+ <toType>DROOLS_DEFAULT</toType>
+ </org.drools.workflow.core.impl.ConnectionImpl>
+ </list>
+ </entry>
+ </incomingConnections>
+ <outgoingConnections id="26"/>
+ <nodeContainer class="org.drools.ruleflow.core.RuleFlowProcess" reference="19"/>
+ </org.drools.workflow.core.node.EndNode>
+ </entry>
+ </nodes>
+ <lastNodeId>4</lastNodeId>
+ </nodeContainer>
+ <imports id="27">
+ <string>java.util.List</string>
+ </imports>
+ <globals id="28">
+ <entry>
+ <string>list</string>
+ <string>List</string>
+ </entry>
+ </globals>
+ <id>ActionDialects</id>
+ <name>ActionDialects</name>
+ <type>RuleFlow</type>
+ <packageName>org.drools.test</packageName>
+ <variableScope class="org.drools.process.core.impl.VariableScopeImpl" id="29">
+ <variables id="30"/>
+ </variableScope>
+ </nodeContainer>
+ </from>
+ <to class="org.drools.workflow.core.node.ActionNode" reference="10"/>
+ <fromType>DROOLS_DEFAULT</fromType>
+ <toType>DROOLS_DEFAULT</toType>
+ </org.drools.workflow.core.impl.ConnectionImpl>
+ </list>
+ </entry>
+ </incomingConnections>
+ <outgoingConnections id="31">
+ <entry>
+ <string>DROOLS_DEFAULT</string>
+ <list id="32">
+ <org.drools.workflow.core.impl.ConnectionImpl reference="9"/>
+ </list>
+ </entry>
+ </outgoingConnections>
+ <nodeContainer class="org.drools.ruleflow.core.RuleFlowProcess" reference="19"/>
+ </from>
+ <to class="org.drools.workflow.core.node.ActionNode" reference="5"/>
+ <fromType>DROOLS_DEFAULT</fromType>
+ <toType>DROOLS_DEFAULT</toType>
+ </org.drools.workflow.core.impl.ConnectionImpl>
+ </list>
+ </entry>
+ </incomingConnections>
+ <outgoingConnections id="33">
+ <entry>
+ <string>DROOLS_DEFAULT</string>
+ <list id="34">
+ <org.drools.workflow.core.impl.ConnectionImpl reference="25"/>
+ </list>
+ </entry>
+ </outgoingConnections>
+ <nodeContainer class="org.drools.ruleflow.core.RuleFlowProcess" reference="19"/>
+ </element>
+ <incomingConnections id="35">
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper id="36" serialization="custom">
+ <org.drools.eclipse.flow.common.editor.core.ElementConnection>
+ <default>
+ <bendpoints id="37"/>
+ <source class="org.drools.eclipse.flow.ruleflow.core.ActionWrapper" id="38" serialization="custom">
+ <org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
+ <default>
+ <constraint id="39">
+ <x>130</x>
+ <y>99</y>
+ <width>80</width>
+ <height>40</height>
+ </constraint>
+ <element class="org.drools.workflow.core.node.ActionNode" reference="10"/>
+ <incomingConnections id="40">
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper id="41" serialization="custom">
+ <org.drools.eclipse.flow.common.editor.core.ElementConnection>
+ <default>
+ <bendpoints id="42"/>
+ <source class="org.drools.eclipse.flow.ruleflow.core.StartNodeWrapper" id="43" serialization="custom">
+ <org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
+ <default>
+ <constraint id="44">
+ <x>24</x>
+ <y>99</y>
+ <width>80</width>
+ <height>40</height>
+ </constraint>
+ <element class="org.drools.workflow.core.node.StartNode" reference="15"/>
+ <incomingConnections id="45"/>
+ <outgoingConnections id="46">
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper reference="41"/>
+ </outgoingConnections>
+ </default>
+ </org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
+ </source>
+ <target class="org.drools.eclipse.flow.ruleflow.core.ActionWrapper" reference="38"/>
+ </default>
+ </org.drools.eclipse.flow.common.editor.core.ElementConnection>
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
+ <default>
+ <connection reference="14"/>
+ </default>
+ </org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
+ </org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
+ </incomingConnections>
+ <outgoingConnections id="47">
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper reference="36"/>
+ </outgoingConnections>
+ <parent class="org.drools.eclipse.flow.ruleflow.core.RuleFlowProcessWrapper" reference="1"/>
+ </default>
+ </org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
+ <org.drools.eclipse.flow.ruleflow.core.ActionWrapper>
+ <default>
+ <descriptors id="48">
+ <org.eclipse.ui.views.properties.TextPropertyDescriptor id="49">
+ <id class="string">Name</id>
+ <display>Name</display>
+ <incompatible>false</incompatible>
+ </org.eclipse.ui.views.properties.TextPropertyDescriptor>
+ <org.drools.eclipse.flow.ruleflow.view.property.action.ActionPropertyDescriptor id="50">
+ <process class="org.drools.ruleflow.core.RuleFlowProcess" reference="19"/>
+ <actionNode reference="10"/>
+ <id class="string">Action</id>
+ <display>Action</display>
+ <incompatible>false</incompatible>
+ </org.drools.eclipse.flow.ruleflow.view.property.action.ActionPropertyDescriptor>
+ </descriptors>
+ </default>
+ </org.drools.eclipse.flow.ruleflow.core.ActionWrapper>
+ </source>
+ <target class="org.drools.eclipse.flow.ruleflow.core.ActionWrapper" reference="3"/>
+ </default>
+ </org.drools.eclipse.flow.common.editor.core.ElementConnection>
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
+ <default>
+ <connection reference="9"/>
+ </default>
+ </org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
+ </org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
+ </incomingConnections>
+ <outgoingConnections id="51">
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper id="52" serialization="custom">
+ <org.drools.eclipse.flow.common.editor.core.ElementConnection>
+ <default>
+ <bendpoints id="53"/>
+ <source class="org.drools.eclipse.flow.ruleflow.core.ActionWrapper" reference="3"/>
+ <target class="org.drools.eclipse.flow.ruleflow.core.EndNodeWrapper" id="54" serialization="custom">
+ <org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
+ <default>
+ <constraint id="55">
+ <x>345</x>
+ <y>100</y>
+ <width>80</width>
+ <height>40</height>
+ </constraint>
+ <element class="org.drools.workflow.core.node.EndNode" reference="22"/>
+ <incomingConnections id="56">
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper reference="52"/>
+ </incomingConnections>
+ <outgoingConnections id="57"/>
+ <parent class="org.drools.eclipse.flow.ruleflow.core.RuleFlowProcessWrapper" reference="1"/>
+ </default>
+ </org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
+ </target>
+ </default>
+ </org.drools.eclipse.flow.common.editor.core.ElementConnection>
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
+ <default>
+ <connection reference="25"/>
+ </default>
+ </org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
+ </org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
+ </outgoingConnections>
+ <parent class="org.drools.eclipse.flow.ruleflow.core.RuleFlowProcessWrapper" reference="1"/>
+ </default>
+ </org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
+ <org.drools.eclipse.flow.ruleflow.core.ActionWrapper>
+ <default>
+ <descriptors id="58">
+ <org.eclipse.ui.views.properties.TextPropertyDescriptor reference="49"/>
+ <org.drools.eclipse.flow.ruleflow.view.property.action.ActionPropertyDescriptor id="59">
+ <process class="org.drools.ruleflow.core.RuleFlowProcess" reference="19"/>
+ <actionNode reference="5"/>
+ <id class="string">Action</id>
+ <display>Action</display>
+ <incompatible>false</incompatible>
+ </org.drools.eclipse.flow.ruleflow.view.property.action.ActionPropertyDescriptor>
+ </descriptors>
+ </default>
+ </org.drools.eclipse.flow.ruleflow.core.ActionWrapper>
+ </org.drools.eclipse.flow.ruleflow.core.ActionWrapper>
+ </entry>
+ <entry>
+ <string>4-Wrapper</string>
+ <org.drools.eclipse.flow.ruleflow.core.EndNodeWrapper reference="54"/>
+ </entry>
+ <entry>
+ <string>2-Wrapper</string>
+ <org.drools.eclipse.flow.ruleflow.core.ActionWrapper reference="38"/>
+ </entry>
+ <entry>
+ <string>1-Wrapper</string>
+ <org.drools.eclipse.flow.ruleflow.core.StartNodeWrapper reference="43"/>
+ </entry>
+ </elements>
+ <process class="org.drools.ruleflow.core.RuleFlowProcess" reference="19"/>
+ <routerLayout>2</routerLayout>
+ </default>
+ </org.drools.eclipse.flow.common.editor.core.ProcessWrapper>
+</org.drools.eclipse.flow.ruleflow.core.RuleFlowProcessWrapper>
\ No newline at end of file
Added: labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/test_ActionDialects.rfm
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/test_ActionDialects.rfm (rev 0)
+++ labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/test_ActionDialects.rfm 2008-01-09 01:39:52 UTC (rev 17639)
@@ -0,0 +1,129 @@
+<org.drools.ruleflow.core.RuleFlowProcess id="1">
+ <nodeContainer class="org.drools.ruleflow.core.RuleFlowProcess$WorkflowProcessNodeContainer" id="2">
+ <outer-class class="org.drools.ruleflow.core.RuleFlowProcess" reference="1"/>
+ <nodes id="3">
+ <entry>
+ <long>1</long>
+ <org.drools.workflow.core.node.StartNode id="4">
+ <id>1</id>
+ <name>Start</name>
+ <incomingConnections id="5"/>
+ <outgoingConnections id="6">
+ <entry>
+ <string>DROOLS_DEFAULT</string>
+ <list id="7">
+ <org.drools.workflow.core.impl.ConnectionImpl id="8">
+ <from class="org.drools.workflow.core.node.StartNode" reference="4"/>
+ <to class="org.drools.workflow.core.node.ActionNode" id="9">
+ <action class="org.drools.workflow.core.impl.DroolsConsequenceAction" id="10">
+ <dialect>mvel</dialect>
+ <consequence>list.add("mvel was here")</consequence>
+ </action>
+ <id>2</id>
+ <name>mvel</name>
+ <incomingConnections id="11">
+ <entry>
+ <string>DROOLS_DEFAULT</string>
+ <list id="12">
+ <org.drools.workflow.core.impl.ConnectionImpl reference="8"/>
+ </list>
+ </entry>
+ </incomingConnections>
+ <outgoingConnections id="13">
+ <entry>
+ <string>DROOLS_DEFAULT</string>
+ <list id="14">
+ <org.drools.workflow.core.impl.ConnectionImpl id="15">
+ <from class="org.drools.workflow.core.node.ActionNode" reference="9"/>
+ <to class="org.drools.workflow.core.node.ActionNode" id="16">
+ <action class="org.drools.workflow.core.impl.DroolsConsequenceAction" id="17">
+ <dialect>java</dialect>
+ <consequence>list.add( "java was here" );</consequence>
+ </action>
+ <id>3</id>
+ <name>java</name>
+ <incomingConnections id="18">
+ <entry>
+ <string>DROOLS_DEFAULT</string>
+ <list id="19">
+ <org.drools.workflow.core.impl.ConnectionImpl reference="15"/>
+ </list>
+ </entry>
+ </incomingConnections>
+ <outgoingConnections id="20">
+ <entry>
+ <string>DROOLS_DEFAULT</string>
+ <list id="21">
+ <org.drools.workflow.core.impl.ConnectionImpl id="22">
+ <from class="org.drools.workflow.core.node.ActionNode" reference="16"/>
+ <to class="org.drools.workflow.core.node.EndNode" id="23">
+ <id>4</id>
+ <name>End</name>
+ <incomingConnections id="24">
+ <entry>
+ <string>DROOLS_DEFAULT</string>
+ <list id="25">
+ <org.drools.workflow.core.impl.ConnectionImpl reference="22"/>
+ </list>
+ </entry>
+ </incomingConnections>
+ <outgoingConnections id="26"/>
+ <nodeContainer class="org.drools.ruleflow.core.RuleFlowProcess" reference="1"/>
+ </to>
+ <fromType>DROOLS_DEFAULT</fromType>
+ <toType>DROOLS_DEFAULT</toType>
+ </org.drools.workflow.core.impl.ConnectionImpl>
+ </list>
+ </entry>
+ </outgoingConnections>
+ <nodeContainer class="org.drools.ruleflow.core.RuleFlowProcess" reference="1"/>
+ </to>
+ <fromType>DROOLS_DEFAULT</fromType>
+ <toType>DROOLS_DEFAULT</toType>
+ </org.drools.workflow.core.impl.ConnectionImpl>
+ </list>
+ </entry>
+ </outgoingConnections>
+ <nodeContainer class="org.drools.ruleflow.core.RuleFlowProcess" reference="1"/>
+ </to>
+ <fromType>DROOLS_DEFAULT</fromType>
+ <toType>DROOLS_DEFAULT</toType>
+ </org.drools.workflow.core.impl.ConnectionImpl>
+ </list>
+ </entry>
+ </outgoingConnections>
+ <nodeContainer class="org.drools.ruleflow.core.RuleFlowProcess" reference="1"/>
+ </org.drools.workflow.core.node.StartNode>
+ </entry>
+ <entry>
+ <long>2</long>
+ <org.drools.workflow.core.node.ActionNode reference="9"/>
+ </entry>
+ <entry>
+ <long>3</long>
+ <org.drools.workflow.core.node.ActionNode reference="16"/>
+ </entry>
+ <entry>
+ <long>4</long>
+ <org.drools.workflow.core.node.EndNode reference="23"/>
+ </entry>
+ </nodes>
+ <lastNodeId>4</lastNodeId>
+ </nodeContainer>
+ <imports id="27">
+ <string>java.util.List</string>
+ </imports>
+ <globals id="28">
+ <entry>
+ <string>list</string>
+ <string>List</string>
+ </entry>
+ </globals>
+ <id>ActionDialects</id>
+ <name>ActionDialects</name>
+ <type>RuleFlow</type>
+ <packageName>org.drools.test</packageName>
+ <variableScope class="org.drools.process.core.impl.VariableScopeImpl" id="29">
+ <variables id="30"/>
+ </variableScope>
+</org.drools.ruleflow.core.RuleFlowProcess>
\ No newline at end of file
Added: labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/test_ConstraintDialects.rf
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/test_ConstraintDialects.rf (rev 0)
+++ labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/test_ConstraintDialects.rf 2008-01-09 01:39:52 UTC (rev 17639)
@@ -0,0 +1,711 @@
+<org.drools.eclipse.flow.ruleflow.core.RuleFlowProcessWrapper id="1" serialization="custom">
+ <org.drools.eclipse.flow.common.editor.core.ProcessWrapper>
+ <default>
+ <elements id="2">
+ <entry>
+ <string>3-Wrapper</string>
+ <org.drools.eclipse.flow.ruleflow.core.ActionWrapper id="3" serialization="custom">
+ <org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
+ <default>
+ <constraint id="4">
+ <x>194</x>
+ <y>40</y>
+ <width>163</width>
+ <height>40</height>
+ </constraint>
+ <element class="org.drools.workflow.core.node.ActionNode" id="5">
+ <action class="org.drools.workflow.core.impl.DroolsConsequenceAction" id="6">
+ <dialect>mvel</dialect>
+ <consequence>outList.add("MVELCodeConstraint was here");</consequence>
+ </action>
+ <id>3</id>
+ <name>MVELCodeConstraintAction</name>
+ <incomingConnections id="7">
+ <entry>
+ <string>DROOLS_DEFAULT</string>
+ <list id="8">
+ <org.drools.workflow.core.impl.ConnectionImpl id="9">
+ <from class="org.drools.workflow.core.node.Split" id="10">
+ <type>3</type>
+ <constraints id="11">
+ <entry>
+ <org.drools.workflow.core.impl.ConnectionImpl id="12">
+ <from class="org.drools.workflow.core.node.Split" reference="10"/>
+ <to class="org.drools.workflow.core.node.ActionNode" id="13">
+ <action class="org.drools.workflow.core.impl.DroolsConsequenceAction" id="14">
+ <dialect>mvel</dialect>
+ <consequence>outList.add("MVELRuleConstraint was here");</consequence>
+ </action>
+ <id>6</id>
+ <name>MVELRuleConstraintAction</name>
+ <incomingConnections id="15">
+ <entry>
+ <string>DROOLS_DEFAULT</string>
+ <list id="16">
+ <org.drools.workflow.core.impl.ConnectionImpl reference="12"/>
+ </list>
+ </entry>
+ </incomingConnections>
+ <outgoingConnections id="17">
+ <entry>
+ <string>DROOLS_DEFAULT</string>
+ <list id="18">
+ <org.drools.workflow.core.impl.ConnectionImpl id="19">
+ <from class="org.drools.workflow.core.node.ActionNode" reference="13"/>
+ <to class="org.drools.workflow.core.node.Join" id="20">
+ <type>1</type>
+ <id>7</id>
+ <name>Join</name>
+ <incomingConnections id="21">
+ <entry>
+ <string>DROOLS_DEFAULT</string>
+ <list id="22">
+ <org.drools.workflow.core.impl.ConnectionImpl reference="19"/>
+ <org.drools.workflow.core.impl.ConnectionImpl id="23">
+ <from class="org.drools.workflow.core.node.ActionNode" id="24">
+ <action class="org.drools.workflow.core.impl.DroolsConsequenceAction" id="25">
+ <dialect>java</dialect>
+ <consequence>outList.add("JavaRuleConstraint was here");</consequence>
+ </action>
+ <id>5</id>
+ <name>JavaRuleConstraintAction</name>
+ <incomingConnections id="26">
+ <entry>
+ <string>DROOLS_DEFAULT</string>
+ <list id="27">
+ <org.drools.workflow.core.impl.ConnectionImpl id="28">
+ <from class="org.drools.workflow.core.node.Split" reference="10"/>
+ <to class="org.drools.workflow.core.node.ActionNode" reference="24"/>
+ <fromType>DROOLS_DEFAULT</fromType>
+ <toType>DROOLS_DEFAULT</toType>
+ </org.drools.workflow.core.impl.ConnectionImpl>
+ </list>
+ </entry>
+ </incomingConnections>
+ <outgoingConnections id="29">
+ <entry>
+ <string>DROOLS_DEFAULT</string>
+ <list id="30">
+ <org.drools.workflow.core.impl.ConnectionImpl reference="23"/>
+ </list>
+ </entry>
+ </outgoingConnections>
+ <nodeContainer class="org.drools.ruleflow.core.RuleFlowProcess" id="31">
+ <nodeContainer class="org.drools.ruleflow.core.RuleFlowProcess$WorkflowProcessNodeContainer" id="32">
+ <outer-class class="org.drools.ruleflow.core.RuleFlowProcess" reference="31"/>
+ <nodes id="33">
+ <entry>
+ <long>1</long>
+ <org.drools.workflow.core.node.StartNode id="34">
+ <id>1</id>
+ <name>Start</name>
+ <incomingConnections id="35"/>
+ <outgoingConnections id="36">
+ <entry>
+ <string>DROOLS_DEFAULT</string>
+ <list id="37">
+ <org.drools.workflow.core.impl.ConnectionImpl id="38">
+ <from class="org.drools.workflow.core.node.StartNode" reference="34"/>
+ <to class="org.drools.workflow.core.node.Split" reference="10"/>
+ <fromType>DROOLS_DEFAULT</fromType>
+ <toType>DROOLS_DEFAULT</toType>
+ </org.drools.workflow.core.impl.ConnectionImpl>
+ </list>
+ </entry>
+ </outgoingConnections>
+ <nodeContainer class="org.drools.ruleflow.core.RuleFlowProcess" reference="31"/>
+ </org.drools.workflow.core.node.StartNode>
+ </entry>
+ <entry>
+ <long>2</long>
+ <org.drools.workflow.core.node.Split reference="10"/>
+ </entry>
+ <entry>
+ <long>3</long>
+ <org.drools.workflow.core.node.ActionNode reference="5"/>
+ </entry>
+ <entry>
+ <long>4</long>
+ <org.drools.workflow.core.node.ActionNode id="39">
+ <action class="org.drools.workflow.core.impl.DroolsConsequenceAction" id="40">
+ <dialect>mvel</dialect>
+ <consequence>outList.add("JavaCodeConstraint was here");</consequence>
+ </action>
+ <id>4</id>
+ <name>JavaCodeConstraintAction</name>
+ <incomingConnections id="41">
+ <entry>
+ <string>DROOLS_DEFAULT</string>
+ <list id="42">
+ <org.drools.workflow.core.impl.ConnectionImpl id="43">
+ <from class="org.drools.workflow.core.node.Split" reference="10"/>
+ <to class="org.drools.workflow.core.node.ActionNode" reference="39"/>
+ <fromType>DROOLS_DEFAULT</fromType>
+ <toType>DROOLS_DEFAULT</toType>
+ </org.drools.workflow.core.impl.ConnectionImpl>
+ </list>
+ </entry>
+ </incomingConnections>
+ <outgoingConnections id="44">
+ <entry>
+ <string>DROOLS_DEFAULT</string>
+ <list id="45">
+ <org.drools.workflow.core.impl.ConnectionImpl id="46">
+ <from class="org.drools.workflow.core.node.ActionNode" reference="39"/>
+ <to class="org.drools.workflow.core.node.Join" reference="20"/>
+ <fromType>DROOLS_DEFAULT</fromType>
+ <toType>DROOLS_DEFAULT</toType>
+ </org.drools.workflow.core.impl.ConnectionImpl>
+ </list>
+ </entry>
+ </outgoingConnections>
+ <nodeContainer class="org.drools.ruleflow.core.RuleFlowProcess" reference="31"/>
+ </org.drools.workflow.core.node.ActionNode>
+ </entry>
+ <entry>
+ <long>5</long>
+ <org.drools.workflow.core.node.ActionNode reference="24"/>
+ </entry>
+ <entry>
+ <long>6</long>
+ <org.drools.workflow.core.node.ActionNode reference="13"/>
+ </entry>
+ <entry>
+ <long>7</long>
+ <org.drools.workflow.core.node.Join reference="20"/>
+ </entry>
+ <entry>
+ <long>8</long>
+ <org.drools.workflow.core.node.EndNode id="47">
+ <id>8</id>
+ <name>End</name>
+ <incomingConnections id="48">
+ <entry>
+ <string>DROOLS_DEFAULT</string>
+ <list id="49">
+ <org.drools.workflow.core.impl.ConnectionImpl id="50">
+ <from class="org.drools.workflow.core.node.Join" reference="20"/>
+ <to class="org.drools.workflow.core.node.EndNode" reference="47"/>
+ <fromType>DROOLS_DEFAULT</fromType>
+ <toType>DROOLS_DEFAULT</toType>
+ </org.drools.workflow.core.impl.ConnectionImpl>
+ </list>
+ </entry>
+ </incomingConnections>
+ <outgoingConnections id="51"/>
+ <nodeContainer class="org.drools.ruleflow.core.RuleFlowProcess" reference="31"/>
+ </org.drools.workflow.core.node.EndNode>
+ </entry>
+ </nodes>
+ <lastNodeId>8</lastNodeId>
+ </nodeContainer>
+ <imports id="52">
+ <string>java.util.List</string>
+ </imports>
+ <globals id="53">
+ <entry>
+ <string>inList</string>
+ <string>List</string>
+ </entry>
+ <entry>
+ <string>outList</string>
+ <string>List</string>
+ </entry>
+ </globals>
+ <id>ConstraintDialects</id>
+ <name>ConstraintDialects</name>
+ <type>RuleFlow</type>
+ <packageName>org.drools.test</packageName>
+ <variableScope class="org.drools.process.core.impl.VariableScopeImpl" id="54">
+ <variables id="55"/>
+ </variableScope>
+ </nodeContainer>
+ </from>
+ <to class="org.drools.workflow.core.node.Join" reference="20"/>
+ <fromType>DROOLS_DEFAULT</fromType>
+ <toType>DROOLS_DEFAULT</toType>
+ </org.drools.workflow.core.impl.ConnectionImpl>
+ <org.drools.workflow.core.impl.ConnectionImpl reference="46"/>
+ <org.drools.workflow.core.impl.ConnectionImpl id="56">
+ <from class="org.drools.workflow.core.node.ActionNode" reference="5"/>
+ <to class="org.drools.workflow.core.node.Join" reference="20"/>
+ <fromType>DROOLS_DEFAULT</fromType>
+ <toType>DROOLS_DEFAULT</toType>
+ </org.drools.workflow.core.impl.ConnectionImpl>
+ </list>
+ </entry>
+ </incomingConnections>
+ <outgoingConnections id="57">
+ <entry>
+ <string>DROOLS_DEFAULT</string>
+ <list id="58">
+ <org.drools.workflow.core.impl.ConnectionImpl reference="50"/>
+ </list>
+ </entry>
+ </outgoingConnections>
+ <nodeContainer class="org.drools.ruleflow.core.RuleFlowProcess" reference="31"/>
+ </to>
+ <fromType>DROOLS_DEFAULT</fromType>
+ <toType>DROOLS_DEFAULT</toType>
+ </org.drools.workflow.core.impl.ConnectionImpl>
+ </list>
+ </entry>
+ </outgoingConnections>
+ <nodeContainer class="org.drools.ruleflow.core.RuleFlowProcess" reference="31"/>
+ </to>
+ <fromType>DROOLS_DEFAULT</fromType>
+ <toType>DROOLS_DEFAULT</toType>
+ </org.drools.workflow.core.impl.ConnectionImpl>
+ <org.drools.workflow.core.impl.ConstraintImpl id="59">
+ <name>MVELRuleConstraint</name>
+ <constraint>list : List()
+eval( list.contains( 6 ) )</constraint>
+ <priority>6</priority>
+ <dialect>mvel</dialect>
+ <type>rule</type>
+ </org.drools.workflow.core.impl.ConstraintImpl>
+ </entry>
+ <entry>
+ <org.drools.workflow.core.impl.ConnectionImpl reference="9"/>
+ <org.drools.workflow.core.impl.ConstraintImpl id="60">
+ <name>MVELCodeConstraint</name>
+ <constraint>return inList.contains( 1 );</constraint>
+ <priority>1</priority>
+ <dialect>mvel</dialect>
+ <type>code</type>
+ </org.drools.workflow.core.impl.ConstraintImpl>
+ </entry>
+ <entry>
+ <org.drools.workflow.core.impl.ConnectionImpl reference="28"/>
+ <org.drools.workflow.core.impl.ConstraintImpl id="61">
+ <name>JavaRuleConstraint</name>
+ <constraint>list : List()
+eval( list.contains( 25 ) )</constraint>
+ <priority>25</priority>
+ <dialect>java</dialect>
+ <type>rule</type>
+ </org.drools.workflow.core.impl.ConstraintImpl>
+ </entry>
+ <entry>
+ <org.drools.workflow.core.impl.ConnectionImpl reference="43"/>
+ <org.drools.workflow.core.impl.ConstraintImpl id="62">
+ <name>JavaCodeConstraint</name>
+ <constraint>return inList.contains( 3 );</constraint>
+ <priority>3</priority>
+ <dialect>java</dialect>
+ <type>code</type>
+ </org.drools.workflow.core.impl.ConstraintImpl>
+ </entry>
+ </constraints>
+ <id>2</id>
+ <name>Split</name>
+ <incomingConnections id="63">
+ <entry>
+ <string>DROOLS_DEFAULT</string>
+ <list id="64">
+ <org.drools.workflow.core.impl.ConnectionImpl reference="38"/>
+ </list>
+ </entry>
+ </incomingConnections>
+ <outgoingConnections id="65">
+ <entry>
+ <string>DROOLS_DEFAULT</string>
+ <list id="66">
+ <org.drools.workflow.core.impl.ConnectionImpl reference="9"/>
+ <org.drools.workflow.core.impl.ConnectionImpl reference="43"/>
+ <org.drools.workflow.core.impl.ConnectionImpl reference="28"/>
+ <org.drools.workflow.core.impl.ConnectionImpl reference="12"/>
+ </list>
+ </entry>
+ </outgoingConnections>
+ <nodeContainer class="org.drools.ruleflow.core.RuleFlowProcess" reference="31"/>
+ </from>
+ <to class="org.drools.workflow.core.node.ActionNode" reference="5"/>
+ <fromType>DROOLS_DEFAULT</fromType>
+ <toType>DROOLS_DEFAULT</toType>
+ </org.drools.workflow.core.impl.ConnectionImpl>
+ </list>
+ </entry>
+ </incomingConnections>
+ <outgoingConnections id="67">
+ <entry>
+ <string>DROOLS_DEFAULT</string>
+ <list id="68">
+ <org.drools.workflow.core.impl.ConnectionImpl reference="56"/>
+ </list>
+ </entry>
+ </outgoingConnections>
+ <nodeContainer class="org.drools.ruleflow.core.RuleFlowProcess" reference="31"/>
+ </element>
+ <incomingConnections id="69">
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper id="70" serialization="custom">
+ <org.drools.eclipse.flow.common.editor.core.ElementConnection>
+ <default>
+ <bendpoints id="71"/>
+ <source class="org.drools.eclipse.flow.ruleflow.core.SplitWrapper" id="72" serialization="custom">
+ <org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
+ <default>
+ <constraint id="73">
+ <x>121</x>
+ <y>101</y>
+ <width>48</width>
+ <height>40</height>
+ </constraint>
+ <element class="org.drools.workflow.core.node.Split" reference="10"/>
+ <incomingConnections id="74">
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper id="75" serialization="custom">
+ <org.drools.eclipse.flow.common.editor.core.ElementConnection>
+ <default>
+ <bendpoints id="76"/>
+ <source class="org.drools.eclipse.flow.ruleflow.core.StartNodeWrapper" id="77" serialization="custom">
+ <org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
+ <default>
+ <constraint id="78">
+ <x>19</x>
+ <y>100</y>
+ <width>80</width>
+ <height>40</height>
+ </constraint>
+ <element class="org.drools.workflow.core.node.StartNode" reference="34"/>
+ <incomingConnections id="79"/>
+ <outgoingConnections id="80">
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper reference="75"/>
+ </outgoingConnections>
+ </default>
+ </org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
+ </source>
+ <target class="org.drools.eclipse.flow.ruleflow.core.SplitWrapper" reference="72"/>
+ </default>
+ </org.drools.eclipse.flow.common.editor.core.ElementConnection>
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
+ <default>
+ <connection reference="38"/>
+ </default>
+ </org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
+ </org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
+ </incomingConnections>
+ <outgoingConnections id="81">
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper reference="70"/>
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper id="82" serialization="custom">
+ <org.drools.eclipse.flow.common.editor.core.ElementConnection>
+ <default>
+ <bendpoints id="83"/>
+ <source class="org.drools.eclipse.flow.ruleflow.core.SplitWrapper" reference="72"/>
+ <target class="org.drools.eclipse.flow.ruleflow.core.ActionWrapper" id="84" serialization="custom">
+ <org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
+ <default>
+ <constraint id="85">
+ <x>194</x>
+ <y>104</y>
+ <width>165</width>
+ <height>40</height>
+ </constraint>
+ <element class="org.drools.workflow.core.node.ActionNode" reference="39"/>
+ <incomingConnections id="86">
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper reference="82"/>
+ </incomingConnections>
+ <outgoingConnections id="87">
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper id="88" serialization="custom">
+ <org.drools.eclipse.flow.common.editor.core.ElementConnection>
+ <default>
+ <bendpoints id="89"/>
+ <source class="org.drools.eclipse.flow.ruleflow.core.ActionWrapper" reference="84"/>
+ <target class="org.drools.eclipse.flow.ruleflow.core.JoinWrapper" id="90" serialization="custom">
+ <org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
+ <default>
+ <constraint id="91">
+ <x>399</x>
+ <y>101</y>
+ <width>51</width>
+ <height>40</height>
+ </constraint>
+ <element class="org.drools.workflow.core.node.Join" reference="20"/>
+ <incomingConnections id="92">
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper id="93" serialization="custom">
+ <org.drools.eclipse.flow.common.editor.core.ElementConnection>
+ <default>
+ <bendpoints id="94"/>
+ <source class="org.drools.eclipse.flow.ruleflow.core.ActionWrapper" id="95" serialization="custom">
+ <org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
+ <default>
+ <constraint id="96">
+ <x>196</x>
+ <y>228</y>
+ <width>165</width>
+ <height>40</height>
+ </constraint>
+ <element class="org.drools.workflow.core.node.ActionNode" reference="13"/>
+ <incomingConnections id="97">
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper id="98" serialization="custom">
+ <org.drools.eclipse.flow.common.editor.core.ElementConnection>
+ <default>
+ <bendpoints id="99"/>
+ <source class="org.drools.eclipse.flow.ruleflow.core.SplitWrapper" reference="72"/>
+ <target class="org.drools.eclipse.flow.ruleflow.core.ActionWrapper" reference="95"/>
+ </default>
+ </org.drools.eclipse.flow.common.editor.core.ElementConnection>
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
+ <default>
+ <connection reference="12"/>
+ </default>
+ </org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
+ </org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
+ </incomingConnections>
+ <outgoingConnections id="100">
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper reference="93"/>
+ </outgoingConnections>
+ <parent class="org.drools.eclipse.flow.ruleflow.core.RuleFlowProcessWrapper" reference="1"/>
+ </default>
+ </org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
+ <org.drools.eclipse.flow.ruleflow.core.ActionWrapper>
+ <default>
+ <descriptors id="101">
+ <org.eclipse.ui.views.properties.TextPropertyDescriptor id="102">
+ <id class="string">Name</id>
+ <display>Name</display>
+ <incompatible>false</incompatible>
+ </org.eclipse.ui.views.properties.TextPropertyDescriptor>
+ <org.drools.eclipse.flow.ruleflow.view.property.action.ActionPropertyDescriptor id="103">
+ <process class="org.drools.ruleflow.core.RuleFlowProcess" reference="31"/>
+ <actionNode reference="13"/>
+ <id class="string">Action</id>
+ <display>Action</display>
+ <incompatible>false</incompatible>
+ </org.drools.eclipse.flow.ruleflow.view.property.action.ActionPropertyDescriptor>
+ </descriptors>
+ </default>
+ </org.drools.eclipse.flow.ruleflow.core.ActionWrapper>
+ </source>
+ <target class="org.drools.eclipse.flow.ruleflow.core.JoinWrapper" reference="90"/>
+ </default>
+ </org.drools.eclipse.flow.common.editor.core.ElementConnection>
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
+ <default>
+ <connection reference="19"/>
+ </default>
+ </org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
+ </org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper id="104" serialization="custom">
+ <org.drools.eclipse.flow.common.editor.core.ElementConnection>
+ <default>
+ <bendpoints id="105"/>
+ <source class="org.drools.eclipse.flow.ruleflow.core.ActionWrapper" id="106" serialization="custom">
+ <org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
+ <default>
+ <constraint id="107">
+ <x>196</x>
+ <y>167</y>
+ <width>165</width>
+ <height>40</height>
+ </constraint>
+ <element class="org.drools.workflow.core.node.ActionNode" reference="24"/>
+ <incomingConnections id="108">
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper id="109" serialization="custom">
+ <org.drools.eclipse.flow.common.editor.core.ElementConnection>
+ <default>
+ <bendpoints id="110"/>
+ <source class="org.drools.eclipse.flow.ruleflow.core.SplitWrapper" reference="72"/>
+ <target class="org.drools.eclipse.flow.ruleflow.core.ActionWrapper" reference="106"/>
+ </default>
+ </org.drools.eclipse.flow.common.editor.core.ElementConnection>
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
+ <default>
+ <connection reference="28"/>
+ </default>
+ </org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
+ </org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
+ </incomingConnections>
+ <outgoingConnections id="111">
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper reference="104"/>
+ </outgoingConnections>
+ <parent class="org.drools.eclipse.flow.ruleflow.core.RuleFlowProcessWrapper" reference="1"/>
+ </default>
+ </org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
+ <org.drools.eclipse.flow.ruleflow.core.ActionWrapper>
+ <default>
+ <descriptors id="112">
+ <org.eclipse.ui.views.properties.TextPropertyDescriptor reference="102"/>
+ <org.drools.eclipse.flow.ruleflow.view.property.action.ActionPropertyDescriptor id="113">
+ <process class="org.drools.ruleflow.core.RuleFlowProcess" reference="31"/>
+ <actionNode reference="24"/>
+ <id class="string">Action</id>
+ <display>Action</display>
+ <incompatible>false</incompatible>
+ </org.drools.eclipse.flow.ruleflow.view.property.action.ActionPropertyDescriptor>
+ </descriptors>
+ </default>
+ </org.drools.eclipse.flow.ruleflow.core.ActionWrapper>
+ </source>
+ <target class="org.drools.eclipse.flow.ruleflow.core.JoinWrapper" reference="90"/>
+ </default>
+ </org.drools.eclipse.flow.common.editor.core.ElementConnection>
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
+ <default>
+ <connection reference="23"/>
+ </default>
+ </org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
+ </org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper reference="88"/>
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper id="114" serialization="custom">
+ <org.drools.eclipse.flow.common.editor.core.ElementConnection>
+ <default>
+ <bendpoints id="115"/>
+ <source class="org.drools.eclipse.flow.ruleflow.core.ActionWrapper" reference="3"/>
+ <target class="org.drools.eclipse.flow.ruleflow.core.JoinWrapper" reference="90"/>
+ </default>
+ </org.drools.eclipse.flow.common.editor.core.ElementConnection>
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
+ <default>
+ <connection reference="56"/>
+ </default>
+ </org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
+ </org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
+ </incomingConnections>
+ <outgoingConnections id="116">
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper id="117" serialization="custom">
+ <org.drools.eclipse.flow.common.editor.core.ElementConnection>
+ <default>
+ <bendpoints id="118"/>
+ <source class="org.drools.eclipse.flow.ruleflow.core.JoinWrapper" reference="90"/>
+ <target class="org.drools.eclipse.flow.ruleflow.core.EndNodeWrapper" id="119" serialization="custom">
+ <org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
+ <default>
+ <constraint id="120">
+ <x>480</x>
+ <y>100</y>
+ <width>80</width>
+ <height>40</height>
+ </constraint>
+ <element class="org.drools.workflow.core.node.EndNode" reference="47"/>
+ <incomingConnections id="121">
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper reference="117"/>
+ </incomingConnections>
+ <outgoingConnections id="122"/>
+ <parent class="org.drools.eclipse.flow.ruleflow.core.RuleFlowProcessWrapper" reference="1"/>
+ </default>
+ </org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
+ </target>
+ </default>
+ </org.drools.eclipse.flow.common.editor.core.ElementConnection>
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
+ <default>
+ <connection reference="50"/>
+ </default>
+ </org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
+ </org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
+ </outgoingConnections>
+ <parent class="org.drools.eclipse.flow.ruleflow.core.RuleFlowProcessWrapper" reference="1"/>
+ </default>
+ </org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
+ </target>
+ </default>
+ </org.drools.eclipse.flow.common.editor.core.ElementConnection>
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
+ <default>
+ <connection reference="46"/>
+ </default>
+ </org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
+ </org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
+ </outgoingConnections>
+ <parent class="org.drools.eclipse.flow.ruleflow.core.RuleFlowProcessWrapper" reference="1"/>
+ </default>
+ </org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
+ <org.drools.eclipse.flow.ruleflow.core.ActionWrapper>
+ <default>
+ <descriptors id="123">
+ <org.eclipse.ui.views.properties.TextPropertyDescriptor reference="102"/>
+ <org.drools.eclipse.flow.ruleflow.view.property.action.ActionPropertyDescriptor id="124">
+ <process class="org.drools.ruleflow.core.RuleFlowProcess" reference="31"/>
+ <actionNode reference="39"/>
+ <id class="string">Action</id>
+ <display>Action</display>
+ <incompatible>false</incompatible>
+ </org.drools.eclipse.flow.ruleflow.view.property.action.ActionPropertyDescriptor>
+ </descriptors>
+ </default>
+ </org.drools.eclipse.flow.ruleflow.core.ActionWrapper>
+ </target>
+ </default>
+ </org.drools.eclipse.flow.common.editor.core.ElementConnection>
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
+ <default>
+ <connection reference="43"/>
+ </default>
+ </org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
+ </org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper reference="109"/>
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper reference="98"/>
+ </outgoingConnections>
+ <parent class="org.drools.eclipse.flow.ruleflow.core.RuleFlowProcessWrapper" reference="1"/>
+ </default>
+ </org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
+ <org.drools.eclipse.flow.ruleflow.core.SplitWrapper>
+ <default/>
+ </org.drools.eclipse.flow.ruleflow.core.SplitWrapper>
+ </source>
+ <target class="org.drools.eclipse.flow.ruleflow.core.ActionWrapper" reference="3"/>
+ </default>
+ </org.drools.eclipse.flow.common.editor.core.ElementConnection>
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
+ <default>
+ <connection reference="9"/>
+ </default>
+ </org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
+ </org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
+ </incomingConnections>
+ <outgoingConnections id="125">
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper reference="114"/>
+ </outgoingConnections>
+ <parent class="org.drools.eclipse.flow.ruleflow.core.RuleFlowProcessWrapper" reference="1"/>
+ </default>
+ </org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
+ <org.drools.eclipse.flow.ruleflow.core.ActionWrapper>
+ <default>
+ <descriptors id="126">
+ <org.eclipse.ui.views.properties.TextPropertyDescriptor reference="102"/>
+ <org.drools.eclipse.flow.ruleflow.view.property.action.ActionPropertyDescriptor id="127">
+ <process class="org.drools.ruleflow.core.RuleFlowProcess" reference="31"/>
+ <actionNode reference="5"/>
+ <id class="string">Action</id>
+ <display>Action</display>
+ <incompatible>false</incompatible>
+ </org.drools.eclipse.flow.ruleflow.view.property.action.ActionPropertyDescriptor>
+ </descriptors>
+ </default>
+ </org.drools.eclipse.flow.ruleflow.core.ActionWrapper>
+ </org.drools.eclipse.flow.ruleflow.core.ActionWrapper>
+ </entry>
+ <entry>
+ <string>4-Wrapper</string>
+ <org.drools.eclipse.flow.ruleflow.core.ActionWrapper reference="84"/>
+ </entry>
+ <entry>
+ <string>7-Wrapper</string>
+ <org.drools.eclipse.flow.ruleflow.core.JoinWrapper reference="90"/>
+ </entry>
+ <entry>
+ <string>2-Wrapper</string>
+ <org.drools.eclipse.flow.ruleflow.core.SplitWrapper reference="72"/>
+ </entry>
+ <entry>
+ <string>8-Wrapper</string>
+ <org.drools.eclipse.flow.ruleflow.core.EndNodeWrapper reference="119"/>
+ </entry>
+ <entry>
+ <string>1-Wrapper</string>
+ <org.drools.eclipse.flow.ruleflow.core.StartNodeWrapper reference="77"/>
+ </entry>
+ <entry>
+ <string>6-Wrapper</string>
+ <org.drools.eclipse.flow.ruleflow.core.ActionWrapper reference="95"/>
+ </entry>
+ <entry>
+ <string>5-Wrapper</string>
+ <org.drools.eclipse.flow.ruleflow.core.ActionWrapper reference="106"/>
+ </entry>
+ </elements>
+ <process class="org.drools.ruleflow.core.RuleFlowProcess" reference="31"/>
+ <routerLayout>2</routerLayout>
+ </default>
+ </org.drools.eclipse.flow.common.editor.core.ProcessWrapper>
+</org.drools.eclipse.flow.ruleflow.core.RuleFlowProcessWrapper>
\ No newline at end of file
Added: labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/test_ConstraintDialects.rfm
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/test_ConstraintDialects.rfm (rev 0)
+++ labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/test_ConstraintDialects.rfm 2008-01-09 01:39:52 UTC (rev 17639)
@@ -0,0 +1,324 @@
+<org.drools.ruleflow.core.RuleFlowProcess id="1">
+ <nodeContainer class="org.drools.ruleflow.core.RuleFlowProcess$WorkflowProcessNodeContainer" id="2">
+ <outer-class class="org.drools.ruleflow.core.RuleFlowProcess" reference="1"/>
+ <nodes id="3">
+ <entry>
+ <long>1</long>
+ <org.drools.workflow.core.node.StartNode id="4">
+ <id>1</id>
+ <name>Start</name>
+ <incomingConnections id="5"/>
+ <outgoingConnections id="6">
+ <entry>
+ <string>DROOLS_DEFAULT</string>
+ <list id="7">
+ <org.drools.workflow.core.impl.ConnectionImpl id="8">
+ <from class="org.drools.workflow.core.node.StartNode" reference="4"/>
+ <to class="org.drools.workflow.core.node.Split" id="9">
+ <type>3</type>
+ <constraints id="10">
+ <entry>
+ <org.drools.workflow.core.impl.ConnectionImpl id="11">
+ <from class="org.drools.workflow.core.node.Split" reference="9"/>
+ <to class="org.drools.workflow.core.node.ActionNode" id="12">
+ <action class="org.drools.workflow.core.impl.DroolsConsequenceAction" id="13">
+ <dialect>mvel</dialect>
+ <consequence>outList.add("MVELRuleConstraint was here");</consequence>
+ </action>
+ <id>6</id>
+ <name>MVELRuleConstraintAction</name>
+ <incomingConnections id="14">
+ <entry>
+ <string>DROOLS_DEFAULT</string>
+ <list id="15">
+ <org.drools.workflow.core.impl.ConnectionImpl reference="11"/>
+ </list>
+ </entry>
+ </incomingConnections>
+ <outgoingConnections id="16">
+ <entry>
+ <string>DROOLS_DEFAULT</string>
+ <list id="17">
+ <org.drools.workflow.core.impl.ConnectionImpl id="18">
+ <from class="org.drools.workflow.core.node.ActionNode" reference="12"/>
+ <to class="org.drools.workflow.core.node.Join" id="19">
+ <type>1</type>
+ <id>7</id>
+ <name>Join</name>
+ <incomingConnections id="20">
+ <entry>
+ <string>DROOLS_DEFAULT</string>
+ <list id="21">
+ <org.drools.workflow.core.impl.ConnectionImpl reference="18"/>
+ <org.drools.workflow.core.impl.ConnectionImpl id="22">
+ <from class="org.drools.workflow.core.node.ActionNode" id="23">
+ <action class="org.drools.workflow.core.impl.DroolsConsequenceAction" id="24">
+ <dialect>java</dialect>
+ <consequence>outList.add("JavaRuleConstraint was here");</consequence>
+ </action>
+ <id>5</id>
+ <name>JavaRuleConstraintAction</name>
+ <incomingConnections id="25">
+ <entry>
+ <string>DROOLS_DEFAULT</string>
+ <list id="26">
+ <org.drools.workflow.core.impl.ConnectionImpl id="27">
+ <from class="org.drools.workflow.core.node.Split" reference="9"/>
+ <to class="org.drools.workflow.core.node.ActionNode" reference="23"/>
+ <fromType>DROOLS_DEFAULT</fromType>
+ <toType>DROOLS_DEFAULT</toType>
+ </org.drools.workflow.core.impl.ConnectionImpl>
+ </list>
+ </entry>
+ </incomingConnections>
+ <outgoingConnections id="28">
+ <entry>
+ <string>DROOLS_DEFAULT</string>
+ <list id="29">
+ <org.drools.workflow.core.impl.ConnectionImpl reference="22"/>
+ </list>
+ </entry>
+ </outgoingConnections>
+ <nodeContainer class="org.drools.ruleflow.core.RuleFlowProcess" reference="1"/>
+ </from>
+ <to class="org.drools.workflow.core.node.Join" reference="19"/>
+ <fromType>DROOLS_DEFAULT</fromType>
+ <toType>DROOLS_DEFAULT</toType>
+ </org.drools.workflow.core.impl.ConnectionImpl>
+ <org.drools.workflow.core.impl.ConnectionImpl id="30">
+ <from class="org.drools.workflow.core.node.ActionNode" id="31">
+ <action class="org.drools.workflow.core.impl.DroolsConsequenceAction" id="32">
+ <dialect>mvel</dialect>
+ <consequence>outList.add("JavaCodeConstraint was here");</consequence>
+ </action>
+ <id>4</id>
+ <name>JavaCodeConstraintAction</name>
+ <incomingConnections id="33">
+ <entry>
+ <string>DROOLS_DEFAULT</string>
+ <list id="34">
+ <org.drools.workflow.core.impl.ConnectionImpl id="35">
+ <from class="org.drools.workflow.core.node.Split" reference="9"/>
+ <to class="org.drools.workflow.core.node.ActionNode" reference="31"/>
+ <fromType>DROOLS_DEFAULT</fromType>
+ <toType>DROOLS_DEFAULT</toType>
+ </org.drools.workflow.core.impl.ConnectionImpl>
+ </list>
+ </entry>
+ </incomingConnections>
+ <outgoingConnections id="36">
+ <entry>
+ <string>DROOLS_DEFAULT</string>
+ <list id="37">
+ <org.drools.workflow.core.impl.ConnectionImpl reference="30"/>
+ </list>
+ </entry>
+ </outgoingConnections>
+ <nodeContainer class="org.drools.ruleflow.core.RuleFlowProcess" reference="1"/>
+ </from>
+ <to class="org.drools.workflow.core.node.Join" reference="19"/>
+ <fromType>DROOLS_DEFAULT</fromType>
+ <toType>DROOLS_DEFAULT</toType>
+ </org.drools.workflow.core.impl.ConnectionImpl>
+ <org.drools.workflow.core.impl.ConnectionImpl id="38">
+ <from class="org.drools.workflow.core.node.ActionNode" id="39">
+ <action class="org.drools.workflow.core.impl.DroolsConsequenceAction" id="40">
+ <dialect>mvel</dialect>
+ <consequence>outList.add("MVELCodeConstraint was here");</consequence>
+ </action>
+ <id>3</id>
+ <name>MVELCodeConstraintAction</name>
+ <incomingConnections id="41">
+ <entry>
+ <string>DROOLS_DEFAULT</string>
+ <list id="42">
+ <org.drools.workflow.core.impl.ConnectionImpl id="43">
+ <from class="org.drools.workflow.core.node.Split" reference="9"/>
+ <to class="org.drools.workflow.core.node.ActionNode" reference="39"/>
+ <fromType>DROOLS_DEFAULT</fromType>
+ <toType>DROOLS_DEFAULT</toType>
+ </org.drools.workflow.core.impl.ConnectionImpl>
+ </list>
+ </entry>
+ </incomingConnections>
+ <outgoingConnections id="44">
+ <entry>
+ <string>DROOLS_DEFAULT</string>
+ <list id="45">
+ <org.drools.workflow.core.impl.ConnectionImpl reference="38"/>
+ </list>
+ </entry>
+ </outgoingConnections>
+ <nodeContainer class="org.drools.ruleflow.core.RuleFlowProcess" reference="1"/>
+ </from>
+ <to class="org.drools.workflow.core.node.Join" reference="19"/>
+ <fromType>DROOLS_DEFAULT</fromType>
+ <toType>DROOLS_DEFAULT</toType>
+ </org.drools.workflow.core.impl.ConnectionImpl>
+ </list>
+ </entry>
+ </incomingConnections>
+ <outgoingConnections id="46">
+ <entry>
+ <string>DROOLS_DEFAULT</string>
+ <list id="47">
+ <org.drools.workflow.core.impl.ConnectionImpl id="48">
+ <from class="org.drools.workflow.core.node.Join" reference="19"/>
+ <to class="org.drools.workflow.core.node.EndNode" id="49">
+ <id>8</id>
+ <name>End</name>
+ <incomingConnections id="50">
+ <entry>
+ <string>DROOLS_DEFAULT</string>
+ <list id="51">
+ <org.drools.workflow.core.impl.ConnectionImpl reference="48"/>
+ </list>
+ </entry>
+ </incomingConnections>
+ <outgoingConnections id="52"/>
+ <nodeContainer class="org.drools.ruleflow.core.RuleFlowProcess" reference="1"/>
+ </to>
+ <fromType>DROOLS_DEFAULT</fromType>
+ <toType>DROOLS_DEFAULT</toType>
+ </org.drools.workflow.core.impl.ConnectionImpl>
+ </list>
+ </entry>
+ </outgoingConnections>
+ <nodeContainer class="org.drools.ruleflow.core.RuleFlowProcess" reference="1"/>
+ </to>
+ <fromType>DROOLS_DEFAULT</fromType>
+ <toType>DROOLS_DEFAULT</toType>
+ </org.drools.workflow.core.impl.ConnectionImpl>
+ </list>
+ </entry>
+ </outgoingConnections>
+ <nodeContainer class="org.drools.ruleflow.core.RuleFlowProcess" reference="1"/>
+ </to>
+ <fromType>DROOLS_DEFAULT</fromType>
+ <toType>DROOLS_DEFAULT</toType>
+ </org.drools.workflow.core.impl.ConnectionImpl>
+ <org.drools.workflow.core.impl.ConstraintImpl id="53">
+ <name>MVELRuleConstraint</name>
+ <constraint>list : List()
+eval( list.contains( 6 ) )</constraint>
+ <priority>6</priority>
+ <dialect>mvel</dialect>
+ <type>rule</type>
+ </org.drools.workflow.core.impl.ConstraintImpl>
+ </entry>
+ <entry>
+ <org.drools.workflow.core.impl.ConnectionImpl reference="43"/>
+ <org.drools.workflow.core.impl.ConstraintImpl id="54">
+ <name>MVELCodeConstraint</name>
+ <constraint>return inList.contains( 1 );</constraint>
+ <priority>1</priority>
+ <dialect>mvel</dialect>
+ <type>code</type>
+ </org.drools.workflow.core.impl.ConstraintImpl>
+ </entry>
+ <entry>
+ <org.drools.workflow.core.impl.ConnectionImpl reference="27"/>
+ <org.drools.workflow.core.impl.ConstraintImpl id="55">
+ <name>JavaRuleConstraint</name>
+ <constraint>list : List()
+eval( list.contains( 25 ) )</constraint>
+ <priority>25</priority>
+ <dialect>java</dialect>
+ <type>rule</type>
+ </org.drools.workflow.core.impl.ConstraintImpl>
+ </entry>
+ <entry>
+ <org.drools.workflow.core.impl.ConnectionImpl reference="35"/>
+ <org.drools.workflow.core.impl.ConstraintImpl id="56">
+ <name>JavaCodeConstraint</name>
+ <constraint>return inList.contains( 3 );</constraint>
+ <priority>3</priority>
+ <dialect>java</dialect>
+ <type>code</type>
+ </org.drools.workflow.core.impl.ConstraintImpl>
+ </entry>
+ </constraints>
+ <id>2</id>
+ <name>Split</name>
+ <incomingConnections id="57">
+ <entry>
+ <string>DROOLS_DEFAULT</string>
+ <list id="58">
+ <org.drools.workflow.core.impl.ConnectionImpl reference="8"/>
+ </list>
+ </entry>
+ </incomingConnections>
+ <outgoingConnections id="59">
+ <entry>
+ <string>DROOLS_DEFAULT</string>
+ <list id="60">
+ <org.drools.workflow.core.impl.ConnectionImpl reference="43"/>
+ <org.drools.workflow.core.impl.ConnectionImpl reference="35"/>
+ <org.drools.workflow.core.impl.ConnectionImpl reference="27"/>
+ <org.drools.workflow.core.impl.ConnectionImpl reference="11"/>
+ </list>
+ </entry>
+ </outgoingConnections>
+ <nodeContainer class="org.drools.ruleflow.core.RuleFlowProcess" reference="1"/>
+ </to>
+ <fromType>DROOLS_DEFAULT</fromType>
+ <toType>DROOLS_DEFAULT</toType>
+ </org.drools.workflow.core.impl.ConnectionImpl>
+ </list>
+ </entry>
+ </outgoingConnections>
+ <nodeContainer class="org.drools.ruleflow.core.RuleFlowProcess" reference="1"/>
+ </org.drools.workflow.core.node.StartNode>
+ </entry>
+ <entry>
+ <long>2</long>
+ <org.drools.workflow.core.node.Split reference="9"/>
+ </entry>
+ <entry>
+ <long>3</long>
+ <org.drools.workflow.core.node.ActionNode reference="39"/>
+ </entry>
+ <entry>
+ <long>4</long>
+ <org.drools.workflow.core.node.ActionNode reference="31"/>
+ </entry>
+ <entry>
+ <long>5</long>
+ <org.drools.workflow.core.node.ActionNode reference="23"/>
+ </entry>
+ <entry>
+ <long>6</long>
+ <org.drools.workflow.core.node.ActionNode reference="12"/>
+ </entry>
+ <entry>
+ <long>7</long>
+ <org.drools.workflow.core.node.Join reference="19"/>
+ </entry>
+ <entry>
+ <long>8</long>
+ <org.drools.workflow.core.node.EndNode reference="49"/>
+ </entry>
+ </nodes>
+ <lastNodeId>8</lastNodeId>
+ </nodeContainer>
+ <imports id="61">
+ <string>java.util.List</string>
+ </imports>
+ <globals id="62">
+ <entry>
+ <string>inList</string>
+ <string>List</string>
+ </entry>
+ <entry>
+ <string>outList</string>
+ <string>List</string>
+ </entry>
+ </globals>
+ <id>ConstraintDialects</id>
+ <name>ConstraintDialects</name>
+ <type>RuleFlow</type>
+ <packageName>org.drools.test</packageName>
+ <variableScope class="org.drools.process.core.impl.VariableScopeImpl" id="63">
+ <variables id="64"/>
+ </variableScope>
+</org.drools.ruleflow.core.RuleFlowProcess>
\ No newline at end of file
Added: labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/test_ruleflowClear.rf
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/test_ruleflowClear.rf (rev 0)
+++ labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/test_ruleflowClear.rf 2008-01-09 01:39:52 UTC (rev 17639)
@@ -0,0 +1,183 @@
+<org.drools.eclipse.flow.ruleflow.core.RuleFlowProcessWrapper id="1" serialization="custom">
+ <org.drools.eclipse.flow.common.editor.core.ProcessWrapper>
+ <default>
+ <elements id="2">
+ <entry>
+ <string>3-Wrapper</string>
+ <org.drools.eclipse.flow.ruleflow.core.RuleSetNodeWrapper id="3" serialization="custom">
+ <org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
+ <default>
+ <constraint id="4">
+ <x>151</x>
+ <y>98</y>
+ <width>80</width>
+ <height>40</height>
+ </constraint>
+ <element class="org.drools.workflow.core.node.RuleSetNode" id="5">
+ <ruleFlowGroup>flowgroup-1</ruleFlowGroup>
+ <id>3</id>
+ <name>flowgroup-1</name>
+ <incomingConnections id="6">
+ <entry>
+ <string>DROOLS_DEFAULT</string>
+ <list id="7">
+ <org.drools.workflow.core.impl.ConnectionImpl id="8">
+ <from class="org.drools.workflow.core.node.StartNode" id="9">
+ <id>1</id>
+ <name>Start</name>
+ <incomingConnections id="10"/>
+ <outgoingConnections id="11">
+ <entry>
+ <string>DROOLS_DEFAULT</string>
+ <list id="12">
+ <org.drools.workflow.core.impl.ConnectionImpl reference="8"/>
+ </list>
+ </entry>
+ </outgoingConnections>
+ <nodeContainer class="org.drools.ruleflow.core.RuleFlowProcess" id="13">
+ <nodeContainer class="org.drools.ruleflow.core.RuleFlowProcess$WorkflowProcessNodeContainer" id="14">
+ <outer-class class="org.drools.ruleflow.core.RuleFlowProcess" reference="13"/>
+ <nodes id="15">
+ <entry>
+ <long>1</long>
+ <org.drools.workflow.core.node.StartNode reference="9"/>
+ </entry>
+ <entry>
+ <long>2</long>
+ <org.drools.workflow.core.node.EndNode id="16">
+ <id>2</id>
+ <name>End</name>
+ <incomingConnections id="17">
+ <entry>
+ <string>DROOLS_DEFAULT</string>
+ <list id="18">
+ <org.drools.workflow.core.impl.ConnectionImpl id="19">
+ <from class="org.drools.workflow.core.node.RuleSetNode" reference="5"/>
+ <to class="org.drools.workflow.core.node.EndNode" reference="16"/>
+ <fromType>DROOLS_DEFAULT</fromType>
+ <toType>DROOLS_DEFAULT</toType>
+ </org.drools.workflow.core.impl.ConnectionImpl>
+ </list>
+ </entry>
+ </incomingConnections>
+ <outgoingConnections id="20"/>
+ <nodeContainer class="org.drools.ruleflow.core.RuleFlowProcess" reference="13"/>
+ </org.drools.workflow.core.node.EndNode>
+ </entry>
+ <entry>
+ <long>3</long>
+ <org.drools.workflow.core.node.RuleSetNode reference="5"/>
+ </entry>
+ </nodes>
+ <lastNodeId>3</lastNodeId>
+ </nodeContainer>
+ <id>ruleFlowClear</id>
+ <name>test_ruleflowClear</name>
+ <type>RuleFlow</type>
+ <packageName>com.sample</packageName>
+ <variableScope class="org.drools.process.core.impl.VariableScopeImpl" id="21">
+ <variables id="22"/>
+ </variableScope>
+ </nodeContainer>
+ </from>
+ <to class="org.drools.workflow.core.node.RuleSetNode" reference="5"/>
+ <fromType>DROOLS_DEFAULT</fromType>
+ <toType>DROOLS_DEFAULT</toType>
+ </org.drools.workflow.core.impl.ConnectionImpl>
+ </list>
+ </entry>
+ </incomingConnections>
+ <outgoingConnections id="23">
+ <entry>
+ <string>DROOLS_DEFAULT</string>
+ <list id="24">
+ <org.drools.workflow.core.impl.ConnectionImpl reference="19"/>
+ </list>
+ </entry>
+ </outgoingConnections>
+ <nodeContainer class="org.drools.ruleflow.core.RuleFlowProcess" reference="13"/>
+ </element>
+ <incomingConnections id="25">
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper id="26" serialization="custom">
+ <org.drools.eclipse.flow.common.editor.core.ElementConnection>
+ <default>
+ <bendpoints id="27"/>
+ <source class="org.drools.eclipse.flow.ruleflow.core.StartNodeWrapper" id="28" serialization="custom">
+ <org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
+ <default>
+ <constraint id="29">
+ <x>32</x>
+ <y>99</y>
+ <width>80</width>
+ <height>40</height>
+ </constraint>
+ <element class="org.drools.workflow.core.node.StartNode" reference="9"/>
+ <incomingConnections id="30"/>
+ <outgoingConnections id="31">
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper reference="26"/>
+ </outgoingConnections>
+ </default>
+ </org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
+ </source>
+ <target class="org.drools.eclipse.flow.ruleflow.core.RuleSetNodeWrapper" reference="3"/>
+ </default>
+ </org.drools.eclipse.flow.common.editor.core.ElementConnection>
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
+ <default>
+ <connection reference="8"/>
+ </default>
+ </org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
+ </org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
+ </incomingConnections>
+ <outgoingConnections id="32">
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper id="33" serialization="custom">
+ <org.drools.eclipse.flow.common.editor.core.ElementConnection>
+ <default>
+ <bendpoints id="34"/>
+ <source class="org.drools.eclipse.flow.ruleflow.core.RuleSetNodeWrapper" reference="3"/>
+ <target class="org.drools.eclipse.flow.ruleflow.core.EndNodeWrapper" id="35" serialization="custom">
+ <org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
+ <default>
+ <constraint id="36">
+ <x>260</x>
+ <y>98</y>
+ <width>80</width>
+ <height>40</height>
+ </constraint>
+ <element class="org.drools.workflow.core.node.EndNode" reference="16"/>
+ <incomingConnections id="37">
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper reference="33"/>
+ </incomingConnections>
+ <outgoingConnections id="38"/>
+ <parent class="org.drools.eclipse.flow.ruleflow.core.RuleFlowProcessWrapper" reference="1"/>
+ </default>
+ </org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
+ </target>
+ </default>
+ </org.drools.eclipse.flow.common.editor.core.ElementConnection>
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
+ <default>
+ <connection reference="19"/>
+ </default>
+ </org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
+ </org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
+ </outgoingConnections>
+ <parent class="org.drools.eclipse.flow.ruleflow.core.RuleFlowProcessWrapper" reference="1"/>
+ </default>
+ </org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
+ </org.drools.eclipse.flow.ruleflow.core.RuleSetNodeWrapper>
+ </entry>
+ <entry>
+ <string>2-Wrapper</string>
+ <org.drools.eclipse.flow.ruleflow.core.EndNodeWrapper reference="35"/>
+ </entry>
+ <entry>
+ <string>1-Wrapper</string>
+ <org.drools.eclipse.flow.ruleflow.core.StartNodeWrapper reference="28"/>
+ </entry>
+ </elements>
+ <process class="org.drools.ruleflow.core.RuleFlowProcess" reference="13"/>
+ <routerLayout>2</routerLayout>
+ </default>
+ </org.drools.eclipse.flow.common.editor.core.ProcessWrapper>
+</org.drools.eclipse.flow.ruleflow.core.RuleFlowProcessWrapper>
\ No newline at end of file
Added: labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/test_ruleflowClear.rfm
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/test_ruleflowClear.rfm (rev 0)
+++ labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/test_ruleflowClear.rfm 2008-01-09 01:39:52 UTC (rev 17639)
@@ -0,0 +1,84 @@
+<org.drools.ruleflow.core.RuleFlowProcess id="1">
+ <nodeContainer class="org.drools.ruleflow.core.RuleFlowProcess$WorkflowProcessNodeContainer" id="2">
+ <outer-class class="org.drools.ruleflow.core.RuleFlowProcess" reference="1"/>
+ <nodes id="3">
+ <entry>
+ <long>1</long>
+ <org.drools.workflow.core.node.StartNode id="4">
+ <id>1</id>
+ <name>Start</name>
+ <incomingConnections id="5"/>
+ <outgoingConnections id="6">
+ <entry>
+ <string>DROOLS_DEFAULT</string>
+ <list id="7">
+ <org.drools.workflow.core.impl.ConnectionImpl id="8">
+ <from class="org.drools.workflow.core.node.StartNode" reference="4"/>
+ <to class="org.drools.workflow.core.node.RuleSetNode" id="9">
+ <ruleFlowGroup>flowgroup-1</ruleFlowGroup>
+ <id>3</id>
+ <name>flowgroup-1</name>
+ <incomingConnections id="10">
+ <entry>
+ <string>DROOLS_DEFAULT</string>
+ <list id="11">
+ <org.drools.workflow.core.impl.ConnectionImpl reference="8"/>
+ </list>
+ </entry>
+ </incomingConnections>
+ <outgoingConnections id="12">
+ <entry>
+ <string>DROOLS_DEFAULT</string>
+ <list id="13">
+ <org.drools.workflow.core.impl.ConnectionImpl id="14">
+ <from class="org.drools.workflow.core.node.RuleSetNode" reference="9"/>
+ <to class="org.drools.workflow.core.node.EndNode" id="15">
+ <id>2</id>
+ <name>End</name>
+ <incomingConnections id="16">
+ <entry>
+ <string>DROOLS_DEFAULT</string>
+ <list id="17">
+ <org.drools.workflow.core.impl.ConnectionImpl reference="14"/>
+ </list>
+ </entry>
+ </incomingConnections>
+ <outgoingConnections id="18"/>
+ <nodeContainer class="org.drools.ruleflow.core.RuleFlowProcess" reference="1"/>
+ </to>
+ <fromType>DROOLS_DEFAULT</fromType>
+ <toType>DROOLS_DEFAULT</toType>
+ </org.drools.workflow.core.impl.ConnectionImpl>
+ </list>
+ </entry>
+ </outgoingConnections>
+ <nodeContainer class="org.drools.ruleflow.core.RuleFlowProcess" reference="1"/>
+ </to>
+ <fromType>DROOLS_DEFAULT</fromType>
+ <toType>DROOLS_DEFAULT</toType>
+ </org.drools.workflow.core.impl.ConnectionImpl>
+ </list>
+ </entry>
+ </outgoingConnections>
+ <nodeContainer class="org.drools.ruleflow.core.RuleFlowProcess" reference="1"/>
+ </org.drools.workflow.core.node.StartNode>
+ </entry>
+ <entry>
+ <long>2</long>
+ <org.drools.workflow.core.node.EndNode reference="15"/>
+ </entry>
+ <entry>
+ <long>3</long>
+ <org.drools.workflow.core.node.RuleSetNode reference="9"/>
+ </entry>
+ </nodes>
+ <lastNodeId>3</lastNodeId>
+ </nodeContainer>
+ <id>ruleFlowClear</id>
+ <name>test_ruleflowClear</name>
+ <type>RuleFlow</type>
+ <packageName>com.sample</packageName>
+ <variableScope class="org.drools.process.core.impl.VariableScopeImpl" id="19">
+ <variables id="20"/>
+ </variableScope>
+</org.drools.ruleflow.core.RuleFlowProcess>
\ No newline at end of file
More information about the jboss-svn-commits
mailing list