[jboss-svn-commits] JBL Code SVN: r14340 - labs/jbossrules/trunk/drools-examples/drools-examples-drl/src/main/rules/org/drools/examples.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Fri Aug 17 20:12:20 EDT 2007
Author: KrisVerlaenen
Date: 2007-08-17 20:12:20 -0400 (Fri, 17 Aug 2007)
New Revision: 14340
Modified:
labs/jbossrules/trunk/drools-examples/drools-examples-drl/src/main/rules/org/drools/examples/NumberGuess.drl
labs/jbossrules/trunk/drools-examples/drools-examples-drl/src/main/rules/org/drools/examples/NumberGuess.rf
labs/jbossrules/trunk/drools-examples/drools-examples-drl/src/main/rules/org/drools/examples/NumberGuess.rfm
Log:
JBRULES-1098: Add action support in ruleflow
- updated example to use action nodes
Modified: labs/jbossrules/trunk/drools-examples/drools-examples-drl/src/main/rules/org/drools/examples/NumberGuess.drl
===================================================================
--- labs/jbossrules/trunk/drools-examples/drools-examples-drl/src/main/rules/org/drools/examples/NumberGuess.drl 2007-08-18 00:10:11 UTC (rev 14339)
+++ labs/jbossrules/trunk/drools-examples/drools-examples-drl/src/main/rules/org/drools/examples/NumberGuess.drl 2007-08-18 00:12:20 UTC (rev 14340)
@@ -27,7 +27,7 @@
end
rule "Record the highest Guess"
- ruleflow-group "To High"
+ ruleflow-group "Too High"
no-loop
when
game : Game( biggestGuess : biggest )
@@ -36,16 +36,8 @@
modify ( game ) { biggest = $value };
end
-rule "Notify too high"
- ruleflow-group "To High"
- when
- Guess()
- then
- System.out.println( "Your guess was too high" );
-end
-
rule "Record the lowest Guess"
- ruleflow-group "To Low"
+ ruleflow-group "Too Low"
no-loop
when
Game( smallestGuess : smallest )
@@ -54,21 +46,6 @@
modify ( game ) { smallest = $value };
end
-rule "Notify too low"
- ruleflow-group "To Low"
- when
- Guess()
- then
- System.out.println( "Your guess was too low" );
-end
-
-rule "Guess correct ntofication"
- ruleflow-group "Guess correct"
- when
- then
- System.out.println( "You guessed correctly" );
-end
-
rule "Guess incorrect, retract Guess"
ruleflow-group "Guess incorrect"
when
@@ -78,7 +55,7 @@
end
-rule "No more Guesses ntofication"
+rule "No more Guesses notification"
ruleflow-group "No more Guesses"
when
$r : RandomNumber()
Modified: labs/jbossrules/trunk/drools-examples/drools-examples-drl/src/main/rules/org/drools/examples/NumberGuess.rf
===================================================================
--- labs/jbossrules/trunk/drools-examples/drools-examples-drl/src/main/rules/org/drools/examples/NumberGuess.rf 2007-08-18 00:10:11 UTC (rev 14339)
+++ labs/jbossrules/trunk/drools-examples/drools-examples-drl/src/main/rules/org/drools/examples/NumberGuess.rf 2007-08-18 00:12:20 UTC (rev 14340)
@@ -8,7 +8,7 @@
<org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
<default>
<constraint id="4">
- <x>473</x>
+ <x>470</x>
<y>392</y>
<width>80</width>
<height>40</height>
@@ -27,9 +27,9 @@
<org.drools.ruleflow.core.impl.ConnectionImpl id="10">
<type>1</type>
<from class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" id="11">
- <ruleFlowGroup>Guess correct</ruleFlowGroup>
- <id>12</id>
- <name>Guess correct</name>
+ <ruleFlowGroup>No more Guesses</ruleFlowGroup>
+ <id>13</id>
+ <name>No more Guesses</name>
<incomingConnections id="12">
<org.drools.ruleflow.core.impl.ConnectionImpl id="13">
<type>1</type>
@@ -39,9 +39,9 @@
<entry>
<org.drools.ruleflow.core.impl.ConnectionImpl reference="13"/>
<org.drools.ruleflow.core.impl.ConstraintImpl id="16">
- <name>Guess correct</name>
- <constraint>RandomNumber( randomValue : value )
-Guess( value == randomValue )</constraint>
+ <name>No More Guesses</name>
+ <constraint>GameRules( allowed : allowedGuesses )
+Game( guessCount >= allowed )</constraint>
<priority>1</priority>
</org.drools.ruleflow.core.impl.ConstraintImpl>
</entry>
@@ -49,69 +49,64 @@
<org.drools.ruleflow.core.impl.ConnectionImpl id="17">
<type>1</type>
<from class="org.drools.ruleflow.core.impl.SplitImpl" reference="14"/>
- <to class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" id="18">
- <ruleFlowGroup>Too High</ruleFlowGroup>
- <id>3</id>
- <name>Too High</name>
+ <to class="org.drools.ruleflow.core.impl.JoinImpl" id="18">
+ <type>2</type>
+ <id>10</id>
+ <name>More guesses Join</name>
<incomingConnections id="19">
+ <org.drools.ruleflow.core.impl.ConnectionImpl id="20">
+ <type>1</type>
+ <from class="org.drools.ruleflow.core.impl.StartNodeImpl" id="21">
+ <id>1</id>
+ <name>Start</name>
+ <incomingConnections id="22"/>
+ <outgoingConnections id="23">
+ <org.drools.ruleflow.core.impl.ConnectionImpl reference="20"/>
+ </outgoingConnections>
+ </from>
+ <to class="org.drools.ruleflow.core.impl.JoinImpl" reference="18"/>
+ </org.drools.ruleflow.core.impl.ConnectionImpl>
<org.drools.ruleflow.core.impl.ConnectionImpl reference="17"/>
</incomingConnections>
- <outgoingConnections id="20">
- <org.drools.ruleflow.core.impl.ConnectionImpl id="21">
+ <outgoingConnections id="24">
+ <org.drools.ruleflow.core.impl.ConnectionImpl id="25">
<type>1</type>
- <from class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" reference="18"/>
- <to class="org.drools.ruleflow.core.impl.JoinImpl" id="22">
- <type>2</type>
- <id>8</id>
- <name>incorrect guess</name>
- <incomingConnections id="23">
- <org.drools.ruleflow.core.impl.ConnectionImpl reference="21"/>
- <org.drools.ruleflow.core.impl.ConnectionImpl id="24">
- <type>1</type>
- <from class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" id="25">
- <ruleFlowGroup>Too Low</ruleFlowGroup>
- <id>4</id>
- <name>Too Low</name>
- <incomingConnections id="26">
- <org.drools.ruleflow.core.impl.ConnectionImpl id="27">
- <type>1</type>
- <from class="org.drools.ruleflow.core.impl.SplitImpl" reference="14"/>
- <to class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" reference="25"/>
- </org.drools.ruleflow.core.impl.ConnectionImpl>
- </incomingConnections>
- <outgoingConnections id="28">
- <org.drools.ruleflow.core.impl.ConnectionImpl reference="24"/>
- </outgoingConnections>
- </from>
- <to class="org.drools.ruleflow.core.impl.JoinImpl" reference="22"/>
- </org.drools.ruleflow.core.impl.ConnectionImpl>
+ <from class="org.drools.ruleflow.core.impl.JoinImpl" reference="18"/>
+ <to class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" id="26">
+ <ruleFlowGroup>Guess</ruleFlowGroup>
+ <id>2</id>
+ <name>Guess</name>
+ <incomingConnections id="27">
+ <org.drools.ruleflow.core.impl.ConnectionImpl reference="25"/>
</incomingConnections>
- <outgoingConnections id="29">
- <org.drools.ruleflow.core.impl.ConnectionImpl id="30">
+ <outgoingConnections id="28">
+ <org.drools.ruleflow.core.impl.ConnectionImpl id="29">
<type>1</type>
- <from class="org.drools.ruleflow.core.impl.JoinImpl" reference="22"/>
- <to class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" id="31">
- <ruleFlowGroup>Guess incorrect</ruleFlowGroup>
- <id>7</id>
- <name>Guess incorrect</name>
- <incomingConnections id="32">
- <org.drools.ruleflow.core.impl.ConnectionImpl reference="30"/>
- </incomingConnections>
- <outgoingConnections id="33">
- <org.drools.ruleflow.core.impl.ConnectionImpl id="34">
- <type>1</type>
- <from class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" reference="31"/>
- <to class="org.drools.ruleflow.core.impl.SplitImpl" id="35">
- <type>2</type>
- <constraints id="36">
- <entry>
+ <from class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" reference="26"/>
+ <to class="org.drools.ruleflow.core.impl.SplitImpl" id="30">
+ <type>2</type>
+ <constraints id="31">
+ <entry>
+ <org.drools.ruleflow.core.impl.ConnectionImpl id="32">
+ <type>1</type>
+ <from class="org.drools.ruleflow.core.impl.SplitImpl" reference="30"/>
+ <to class="org.drools.ruleflow.core.impl.ActionNodeImpl" id="33">
+ <action class="org.drools.ruleflow.core.impl.DroolsConsequenceAction" id="34">
+ <consequence>System.out.println( "Your guess was too high" );</consequence>
+ </action>
+ <id>20</id>
+ <name>Too High</name>
+ <incomingConnections id="35">
+ <org.drools.ruleflow.core.impl.ConnectionImpl reference="32"/>
+ </incomingConnections>
+ <outgoingConnections id="36">
<org.drools.ruleflow.core.impl.ConnectionImpl id="37">
<type>1</type>
- <from class="org.drools.ruleflow.core.impl.SplitImpl" reference="35"/>
+ <from class="org.drools.ruleflow.core.impl.ActionNodeImpl" reference="33"/>
<to class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" id="38">
- <ruleFlowGroup>No more Guesses</ruleFlowGroup>
- <id>13</id>
- <name>No more Guesses</name>
+ <ruleFlowGroup>Too High</ruleFlowGroup>
+ <id>3</id>
+ <name>Too High</name>
<incomingConnections id="39">
<org.drools.ruleflow.core.impl.ConnectionImpl reference="37"/>
</incomingConnections>
@@ -119,57 +114,67 @@
<org.drools.ruleflow.core.impl.ConnectionImpl id="41">
<type>1</type>
<from class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" reference="38"/>
- <to class="org.drools.ruleflow.core.impl.JoinImpl" reference="8"/>
- </org.drools.ruleflow.core.impl.ConnectionImpl>
- </outgoingConnections>
- </to>
- </org.drools.ruleflow.core.impl.ConnectionImpl>
- <org.drools.ruleflow.core.impl.ConstraintImpl id="42">
- <name>No More Guesses</name>
- <constraint>GameRules( allowed : allowedGuesses )
-Game( guessCount >= allowed )</constraint>
- <priority>1</priority>
- </org.drools.ruleflow.core.impl.ConstraintImpl>
- </entry>
- <entry>
- <org.drools.ruleflow.core.impl.ConnectionImpl id="43">
- <type>1</type>
- <from class="org.drools.ruleflow.core.impl.SplitImpl" reference="35"/>
- <to class="org.drools.ruleflow.core.impl.JoinImpl" id="44">
- <type>2</type>
- <id>10</id>
- <name>More guesses Join</name>
- <incomingConnections id="45">
- <org.drools.ruleflow.core.impl.ConnectionImpl id="46">
- <type>1</type>
- <from class="org.drools.ruleflow.core.impl.StartNodeImpl" id="47">
- <id>1</id>
- <name>Start</name>
- <incomingConnections id="48"/>
- <outgoingConnections id="49">
- <org.drools.ruleflow.core.impl.ConnectionImpl reference="46"/>
- </outgoingConnections>
- </from>
- <to class="org.drools.ruleflow.core.impl.JoinImpl" reference="44"/>
- </org.drools.ruleflow.core.impl.ConnectionImpl>
- <org.drools.ruleflow.core.impl.ConnectionImpl reference="43"/>
- </incomingConnections>
- <outgoingConnections id="50">
- <org.drools.ruleflow.core.impl.ConnectionImpl id="51">
- <type>1</type>
- <from class="org.drools.ruleflow.core.impl.JoinImpl" reference="44"/>
- <to class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" id="52">
- <ruleFlowGroup>Guess</ruleFlowGroup>
- <id>2</id>
- <name>Guess</name>
- <incomingConnections id="53">
- <org.drools.ruleflow.core.impl.ConnectionImpl reference="51"/>
+ <to class="org.drools.ruleflow.core.impl.JoinImpl" id="42">
+ <type>2</type>
+ <id>8</id>
+ <name>incorrect guess</name>
+ <incomingConnections id="43">
+ <org.drools.ruleflow.core.impl.ConnectionImpl reference="41"/>
+ <org.drools.ruleflow.core.impl.ConnectionImpl id="44">
+ <type>1</type>
+ <from class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" id="45">
+ <ruleFlowGroup>Too Low</ruleFlowGroup>
+ <id>4</id>
+ <name>Too Low</name>
+ <incomingConnections id="46">
+ <org.drools.ruleflow.core.impl.ConnectionImpl id="47">
+ <type>1</type>
+ <from class="org.drools.ruleflow.core.impl.ActionNodeImpl" id="48">
+ <action class="org.drools.ruleflow.core.impl.DroolsConsequenceAction" id="49">
+ <consequence>System.out.println( "Your guess was too low" );</consequence>
+ </action>
+ <id>19</id>
+ <name>Too Low</name>
+ <incomingConnections id="50">
+ <org.drools.ruleflow.core.impl.ConnectionImpl id="51">
+ <type>1</type>
+ <from class="org.drools.ruleflow.core.impl.SplitImpl" reference="30"/>
+ <to class="org.drools.ruleflow.core.impl.ActionNodeImpl" reference="48"/>
+ </org.drools.ruleflow.core.impl.ConnectionImpl>
+ </incomingConnections>
+ <outgoingConnections id="52">
+ <org.drools.ruleflow.core.impl.ConnectionImpl reference="47"/>
+ </outgoingConnections>
+ </from>
+ <to class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" reference="45"/>
+ </org.drools.ruleflow.core.impl.ConnectionImpl>
+ </incomingConnections>
+ <outgoingConnections id="53">
+ <org.drools.ruleflow.core.impl.ConnectionImpl reference="44"/>
+ </outgoingConnections>
+ </from>
+ <to class="org.drools.ruleflow.core.impl.JoinImpl" reference="42"/>
+ </org.drools.ruleflow.core.impl.ConnectionImpl>
</incomingConnections>
<outgoingConnections id="54">
<org.drools.ruleflow.core.impl.ConnectionImpl id="55">
<type>1</type>
- <from class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" reference="52"/>
- <to class="org.drools.ruleflow.core.impl.SplitImpl" reference="14"/>
+ <from class="org.drools.ruleflow.core.impl.JoinImpl" reference="42"/>
+ <to class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" id="56">
+ <ruleFlowGroup>Guess incorrect</ruleFlowGroup>
+ <id>7</id>
+ <name>Guess incorrect</name>
+ <incomingConnections id="57">
+ <org.drools.ruleflow.core.impl.ConnectionImpl reference="55"/>
+ </incomingConnections>
+ <outgoingConnections id="58">
+ <org.drools.ruleflow.core.impl.ConnectionImpl id="59">
+ <type>1</type>
+ <from class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" reference="56"/>
+ <to class="org.drools.ruleflow.core.impl.SplitImpl" reference="14"/>
+ </org.drools.ruleflow.core.impl.ConnectionImpl>
+ </outgoingConnections>
+ </to>
</org.drools.ruleflow.core.impl.ConnectionImpl>
</outgoingConnections>
</to>
@@ -177,25 +182,64 @@
</outgoingConnections>
</to>
</org.drools.ruleflow.core.impl.ConnectionImpl>
- <org.drools.ruleflow.core.impl.ConstraintImpl id="56">
- <name>More guesses</name>
- <constraint>GameRules( allowed : allowedGuesses )
-Game( guessCount < allowed )</constraint>
- <priority>1</priority>
- </org.drools.ruleflow.core.impl.ConstraintImpl>
- </entry>
- </constraints>
- <id>9</id>
- <name>More Guesses?</name>
- <incomingConnections id="57">
- <org.drools.ruleflow.core.impl.ConnectionImpl reference="34"/>
- </incomingConnections>
- <outgoingConnections id="58">
- <org.drools.ruleflow.core.impl.ConnectionImpl reference="43"/>
- <org.drools.ruleflow.core.impl.ConnectionImpl reference="37"/>
- </outgoingConnections>
- </to>
- </org.drools.ruleflow.core.impl.ConnectionImpl>
+ </outgoingConnections>
+ </to>
+ </org.drools.ruleflow.core.impl.ConnectionImpl>
+ <org.drools.ruleflow.core.impl.ConstraintImpl id="60">
+ <name>too high</name>
+ <constraint>RandomNumber( randomValue : value ) &&
+Guess( value > randomValue )</constraint>
+ <priority>1</priority>
+ </org.drools.ruleflow.core.impl.ConstraintImpl>
+ </entry>
+ <entry>
+ <org.drools.ruleflow.core.impl.ConnectionImpl reference="51"/>
+ <org.drools.ruleflow.core.impl.ConstraintImpl id="61">
+ <name>too low</name>
+ <constraint>RandomNumber( randomValue : value ) &&
+Guess( value < randomValue )</constraint>
+ <priority>1</priority>
+ </org.drools.ruleflow.core.impl.ConstraintImpl>
+ </entry>
+ <entry>
+ <org.drools.ruleflow.core.impl.ConnectionImpl id="62">
+ <type>1</type>
+ <from class="org.drools.ruleflow.core.impl.SplitImpl" reference="30"/>
+ <to class="org.drools.ruleflow.core.impl.ActionNodeImpl" id="63">
+ <action class="org.drools.ruleflow.core.impl.DroolsConsequenceAction" id="64">
+ <consequence>System.out.println( "You guessed correctly" );</consequence>
+ </action>
+ <id>18</id>
+ <name>Guess Correct</name>
+ <incomingConnections id="65">
+ <org.drools.ruleflow.core.impl.ConnectionImpl reference="62"/>
+ </incomingConnections>
+ <outgoingConnections id="66">
+ <org.drools.ruleflow.core.impl.ConnectionImpl id="67">
+ <type>1</type>
+ <from class="org.drools.ruleflow.core.impl.ActionNodeImpl" reference="63"/>
+ <to class="org.drools.ruleflow.core.impl.JoinImpl" reference="8"/>
+ </org.drools.ruleflow.core.impl.ConnectionImpl>
+ </outgoingConnections>
+ </to>
+ </org.drools.ruleflow.core.impl.ConnectionImpl>
+ <org.drools.ruleflow.core.impl.ConstraintImpl id="68">
+ <name>correct</name>
+ <constraint>RandomNumber( randomValue : value ) &&
+Guess( value == randomValue )</constraint>
+ <priority>1</priority>
+ </org.drools.ruleflow.core.impl.ConstraintImpl>
+ </entry>
+ </constraints>
+ <id>6</id>
+ <name>Guess correct?</name>
+ <incomingConnections id="69">
+ <org.drools.ruleflow.core.impl.ConnectionImpl reference="29"/>
+ </incomingConnections>
+ <outgoingConnections id="70">
+ <org.drools.ruleflow.core.impl.ConnectionImpl reference="62"/>
+ <org.drools.ruleflow.core.impl.ConnectionImpl reference="51"/>
+ <org.drools.ruleflow.core.impl.ConnectionImpl reference="32"/>
</outgoingConnections>
</to>
</org.drools.ruleflow.core.impl.ConnectionImpl>
@@ -205,397 +249,572 @@
</outgoingConnections>
</to>
</org.drools.ruleflow.core.impl.ConnectionImpl>
- <org.drools.ruleflow.core.impl.ConstraintImpl id="59">
- <name>Guess to high</name>
- <constraint>RandomNumber( randomValue : value )
-Guess( value > randomValue )</constraint>
+ <org.drools.ruleflow.core.impl.ConstraintImpl id="71">
+ <name>More guesses</name>
+ <constraint>GameRules( allowed : allowedGuesses )
+Game( guessCount < allowed )</constraint>
<priority>1</priority>
</org.drools.ruleflow.core.impl.ConstraintImpl>
</entry>
- <entry>
- <org.drools.ruleflow.core.impl.ConnectionImpl reference="27"/>
- <org.drools.ruleflow.core.impl.ConstraintImpl id="60">
- <name>Guess to low</name>
- <constraint>RandomNumber( randomValue : value )
-Guess( value < randomValue )</constraint>
- <priority>1</priority>
- </org.drools.ruleflow.core.impl.ConstraintImpl>
- </entry>
</constraints>
- <id>6</id>
- <name>Guess correct?</name>
- <incomingConnections id="61">
- <org.drools.ruleflow.core.impl.ConnectionImpl reference="55"/>
+ <id>9</id>
+ <name>More Guesses?</name>
+ <incomingConnections id="72">
+ <org.drools.ruleflow.core.impl.ConnectionImpl reference="59"/>
</incomingConnections>
- <outgoingConnections id="62">
+ <outgoingConnections id="73">
<org.drools.ruleflow.core.impl.ConnectionImpl reference="17"/>
- <org.drools.ruleflow.core.impl.ConnectionImpl reference="27"/>
<org.drools.ruleflow.core.impl.ConnectionImpl reference="13"/>
</outgoingConnections>
</from>
<to class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" reference="11"/>
</org.drools.ruleflow.core.impl.ConnectionImpl>
</incomingConnections>
- <outgoingConnections id="63">
+ <outgoingConnections id="74">
<org.drools.ruleflow.core.impl.ConnectionImpl reference="10"/>
</outgoingConnections>
</from>
<to class="org.drools.ruleflow.core.impl.JoinImpl" reference="8"/>
</org.drools.ruleflow.core.impl.ConnectionImpl>
- <org.drools.ruleflow.core.impl.ConnectionImpl reference="41"/>
+ <org.drools.ruleflow.core.impl.ConnectionImpl reference="67"/>
</incomingConnections>
- <outgoingConnections id="64">
+ <outgoingConnections id="75">
<org.drools.ruleflow.core.impl.ConnectionImpl reference="7"/>
</outgoingConnections>
</from>
<to class="org.drools.ruleflow.core.impl.EndNodeImpl" reference="5"/>
</org.drools.ruleflow.core.impl.ConnectionImpl>
</incomingConnections>
- <outgoingConnections id="65"/>
+ <outgoingConnections id="76"/>
</element>
- <incomingConnections id="66">
- <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper id="67" serialization="custom">
+ <incomingConnections id="77">
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper id="78" serialization="custom">
<org.drools.eclipse.flow.common.editor.core.ElementConnection>
<default>
<type>1</type>
- <bendpoints id="68"/>
- <source class="org.drools.eclipse.flow.ruleflow.core.JoinWrapper" id="69" serialization="custom">
+ <bendpoints id="79"/>
+ <source class="org.drools.eclipse.flow.ruleflow.core.JoinWrapper" id="80" serialization="custom">
<org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
<default>
- <constraint id="70">
+ <constraint id="81">
<x>440</x>
<y>288</y>
<width>142</width>
<height>40</height>
</constraint>
<element class="org.drools.ruleflow.core.impl.JoinImpl" reference="8"/>
- <incomingConnections id="71">
- <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper id="72" serialization="custom">
+ <incomingConnections id="82">
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper id="83" serialization="custom">
<org.drools.eclipse.flow.common.editor.core.ElementConnection>
<default>
<type>1</type>
- <bendpoints id="73"/>
- <source class="org.drools.eclipse.flow.ruleflow.core.RuleSetNodeWrapper" id="74" serialization="custom">
+ <bendpoints id="84"/>
+ <source class="org.drools.eclipse.flow.ruleflow.core.RuleSetNodeWrapper" id="85" serialization="custom">
<org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
<default>
- <constraint id="75">
- <x>315</x>
+ <constraint id="86">
+ <x>631</x>
<y>288</y>
- <width>80</width>
+ <width>102</width>
<height>40</height>
</constraint>
<element class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" reference="11"/>
- <incomingConnections id="76">
- <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper id="77" serialization="custom">
+ <incomingConnections id="87">
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper id="88" serialization="custom">
<org.drools.eclipse.flow.common.editor.core.ElementConnection>
<default>
<type>1</type>
- <bendpoints id="78"/>
- <source class="org.drools.eclipse.flow.ruleflow.core.SplitWrapper" id="79" serialization="custom">
+ <bendpoints id="89"/>
+ <source class="org.drools.eclipse.flow.ruleflow.core.SplitWrapper" id="90" serialization="custom">
<org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
<default>
- <constraint id="80">
- <x>99</x>
+ <constraint id="91">
+ <x>774</x>
<y>288</y>
- <width>103</width>
+ <width>93</width>
<height>40</height>
</constraint>
<element class="org.drools.ruleflow.core.impl.SplitImpl" reference="14"/>
- <incomingConnections id="81">
- <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper id="82" serialization="custom">
+ <incomingConnections id="92">
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper id="93" serialization="custom">
<org.drools.eclipse.flow.common.editor.core.ElementConnection>
<default>
<type>1</type>
- <bendpoints id="83"/>
- <source class="org.drools.eclipse.flow.ruleflow.core.RuleSetNodeWrapper" id="84" serialization="custom">
+ <bendpoints id="94">
+ <org.eclipse.draw2d.geometry.Point id="95">
+ <x>819</x>
+ <y>581</y>
+ </org.eclipse.draw2d.geometry.Point>
+ </bendpoints>
+ <source class="org.drools.eclipse.flow.ruleflow.core.RuleSetNodeWrapper" id="96" serialization="custom">
<org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
<default>
- <constraint id="85">
+ <constraint id="97">
<x>110</x>
- <y>204</y>
+ <y>561</y>
<width>80</width>
<height>40</height>
</constraint>
- <element class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" reference="52"/>
- <incomingConnections id="86">
- <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper id="87" serialization="custom">
+ <element class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" reference="56"/>
+ <incomingConnections id="98">
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper id="99" serialization="custom">
<org.drools.eclipse.flow.common.editor.core.ElementConnection>
<default>
<type>1</type>
- <bendpoints id="88"/>
- <source class="org.drools.eclipse.flow.ruleflow.core.JoinWrapper" id="89" serialization="custom">
+ <bendpoints id="100"/>
+ <source class="org.drools.eclipse.flow.ruleflow.core.JoinWrapper" id="101" serialization="custom">
<org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
<default>
- <constraint id="90">
- <x>88</x>
- <y>138</y>
- <width>125</width>
+ <constraint id="102">
+ <x>103</x>
+ <y>469</y>
+ <width>95</width>
<height>40</height>
</constraint>
- <element class="org.drools.ruleflow.core.impl.JoinImpl" reference="44"/>
- <incomingConnections id="91">
- <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper id="92" serialization="custom">
+ <element class="org.drools.ruleflow.core.impl.JoinImpl" reference="42"/>
+ <incomingConnections id="103">
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper id="104" serialization="custom">
<org.drools.eclipse.flow.common.editor.core.ElementConnection>
<default>
<type>1</type>
- <bendpoints id="93"/>
- <source class="org.drools.eclipse.flow.ruleflow.core.StartNodeWrapper" id="94" serialization="custom">
+ <bendpoints id="105"/>
+ <source class="org.drools.eclipse.flow.ruleflow.core.RuleSetNodeWrapper" id="106" serialization="custom">
<org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
<default>
- <constraint id="95">
- <x>110</x>
- <y>60</y>
+ <constraint id="107">
+ <x>11</x>
+ <y>413</y>
<width>80</width>
<height>40</height>
</constraint>
- <element class="org.drools.ruleflow.core.impl.StartNodeImpl" reference="47"/>
- <incomingConnections id="96"/>
- <outgoingConnections id="97">
- <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper reference="92"/>
- </outgoingConnections>
- </default>
- </org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
- </source>
- <target class="org.drools.eclipse.flow.ruleflow.core.JoinWrapper" reference="89"/>
- </default>
- </org.drools.eclipse.flow.common.editor.core.ElementConnection>
- <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
- <default>
- <connection class="org.drools.ruleflow.core.impl.ConnectionImpl" reference="46"/>
- </default>
- </org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
- </org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
- <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper id="98" serialization="custom">
- <org.drools.eclipse.flow.common.editor.core.ElementConnection>
- <default>
- <type>1</type>
- <bendpoints id="99">
- <org.eclipse.draw2d.geometry.Point id="100">
- <x>820</x>
- <y>155</y>
- </org.eclipse.draw2d.geometry.Point>
- </bendpoints>
- <source class="org.drools.eclipse.flow.ruleflow.core.SplitWrapper" id="101" serialization="custom">
- <org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
- <default>
- <constraint id="102">
- <x>774</x>
- <y>288</y>
- <width>93</width>
- <height>40</height>
- </constraint>
- <element class="org.drools.ruleflow.core.impl.SplitImpl" reference="35"/>
- <incomingConnections id="103">
- <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper id="104" serialization="custom">
+ <element class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" reference="38"/>
+ <incomingConnections id="108">
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper id="109" serialization="custom">
<org.drools.eclipse.flow.common.editor.core.ElementConnection>
<default>
<type>1</type>
- <bendpoints id="105">
- <org.eclipse.draw2d.geometry.Point id="106">
- <x>819</x>
- <y>581</y>
- </org.eclipse.draw2d.geometry.Point>
- </bendpoints>
- <source class="org.drools.eclipse.flow.ruleflow.core.RuleSetNodeWrapper" id="107" serialization="custom">
+ <bendpoints id="110"/>
+ <source class="org.drools.eclipse.flow.ruleflow.core.ActionWrapper" id="111" serialization="custom">
<org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
<default>
- <constraint id="108">
- <x>110</x>
- <y>561</y>
+ <constraint id="112">
+ <x>12</x>
+ <y>350</y>
<width>80</width>
<height>40</height>
</constraint>
- <element class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" reference="31"/>
- <incomingConnections id="109">
- <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper id="110" serialization="custom">
+ <element class="org.drools.ruleflow.core.impl.ActionNodeImpl" reference="33"/>
+ <incomingConnections id="113">
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper id="114" serialization="custom">
<org.drools.eclipse.flow.common.editor.core.ElementConnection>
<default>
<type>1</type>
- <bendpoints id="111"/>
- <source class="org.drools.eclipse.flow.ruleflow.core.JoinWrapper" id="112" serialization="custom">
+ <bendpoints id="115"/>
+ <source class="org.drools.eclipse.flow.ruleflow.core.SplitWrapper" id="116" serialization="custom">
<org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
<default>
- <constraint id="113">
- <x>103</x>
- <y>469</y>
- <width>95</width>
+ <constraint id="117">
+ <x>99</x>
+ <y>288</y>
+ <width>103</width>
<height>40</height>
</constraint>
- <element class="org.drools.ruleflow.core.impl.JoinImpl" reference="22"/>
- <incomingConnections id="114">
- <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper id="115" serialization="custom">
+ <element class="org.drools.ruleflow.core.impl.SplitImpl" reference="30"/>
+ <incomingConnections id="118">
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper id="119" serialization="custom">
<org.drools.eclipse.flow.common.editor.core.ElementConnection>
<default>
<type>1</type>
- <bendpoints id="116"/>
- <source class="org.drools.eclipse.flow.ruleflow.core.RuleSetNodeWrapper" id="117" serialization="custom">
+ <bendpoints id="120"/>
+ <source class="org.drools.eclipse.flow.ruleflow.core.RuleSetNodeWrapper" id="121" serialization="custom">
<org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
<default>
- <constraint id="118">
- <x>11</x>
- <y>392</y>
+ <constraint id="122">
+ <x>110</x>
+ <y>204</y>
<width>80</width>
<height>40</height>
</constraint>
- <element class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" reference="18"/>
- <incomingConnections id="119">
- <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper id="120" serialization="custom">
+ <element class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" reference="26"/>
+ <incomingConnections id="123">
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper id="124" serialization="custom">
<org.drools.eclipse.flow.common.editor.core.ElementConnection>
<default>
<type>1</type>
- <bendpoints id="121"/>
- <source class="org.drools.eclipse.flow.ruleflow.core.SplitWrapper" reference="79"/>
- <target class="org.drools.eclipse.flow.ruleflow.core.RuleSetNodeWrapper" reference="117"/>
+ <bendpoints id="125"/>
+ <source class="org.drools.eclipse.flow.ruleflow.core.JoinWrapper" id="126" serialization="custom">
+ <org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
+ <default>
+ <constraint id="127">
+ <x>88</x>
+ <y>138</y>
+ <width>125</width>
+ <height>40</height>
+ </constraint>
+ <element class="org.drools.ruleflow.core.impl.JoinImpl" reference="18"/>
+ <incomingConnections id="128">
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper id="129" serialization="custom">
+ <org.drools.eclipse.flow.common.editor.core.ElementConnection>
+ <default>
+ <type>1</type>
+ <bendpoints id="130"/>
+ <source class="org.drools.eclipse.flow.ruleflow.core.StartNodeWrapper" id="131" serialization="custom">
+ <org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
+ <default>
+ <constraint id="132">
+ <x>110</x>
+ <y>60</y>
+ <width>80</width>
+ <height>40</height>
+ </constraint>
+ <element class="org.drools.ruleflow.core.impl.StartNodeImpl" reference="21"/>
+ <incomingConnections id="133"/>
+ <outgoingConnections id="134">
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper reference="129"/>
+ </outgoingConnections>
+ </default>
+ </org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
+ </source>
+ <target class="org.drools.eclipse.flow.ruleflow.core.JoinWrapper" reference="126"/>
+ </default>
+ </org.drools.eclipse.flow.common.editor.core.ElementConnection>
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
+ <default>
+ <connection class="org.drools.ruleflow.core.impl.ConnectionImpl" reference="20"/>
+ </default>
+ </org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
+ </org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper id="135" serialization="custom">
+ <org.drools.eclipse.flow.common.editor.core.ElementConnection>
+ <default>
+ <type>1</type>
+ <bendpoints id="136">
+ <org.eclipse.draw2d.geometry.Point id="137">
+ <x>820</x>
+ <y>155</y>
+ </org.eclipse.draw2d.geometry.Point>
+ </bendpoints>
+ <source class="org.drools.eclipse.flow.ruleflow.core.SplitWrapper" reference="90"/>
+ <target class="org.drools.eclipse.flow.ruleflow.core.JoinWrapper" reference="126"/>
+ </default>
+ </org.drools.eclipse.flow.common.editor.core.ElementConnection>
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
+ <default>
+ <connection class="org.drools.ruleflow.core.impl.ConnectionImpl" reference="17"/>
+ </default>
+ </org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
+ </org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
+ </incomingConnections>
+ <outgoingConnections id="138">
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper reference="124"/>
+ </outgoingConnections>
+ <parent class="org.drools.eclipse.flow.ruleflow.core.RuleFlowProcessWrapper" reference="1"/>
+ </default>
+ </org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
+ </source>
+ <target class="org.drools.eclipse.flow.ruleflow.core.RuleSetNodeWrapper" reference="121"/>
</default>
</org.drools.eclipse.flow.common.editor.core.ElementConnection>
<org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
<default>
- <connection class="org.drools.ruleflow.core.impl.ConnectionImpl" reference="17"/>
+ <connection class="org.drools.ruleflow.core.impl.ConnectionImpl" reference="25"/>
</default>
</org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
</org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
</incomingConnections>
- <outgoingConnections id="122">
- <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper reference="115"/>
+ <outgoingConnections id="139">
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper reference="119"/>
</outgoingConnections>
<parent class="org.drools.eclipse.flow.ruleflow.core.RuleFlowProcessWrapper" reference="1"/>
</default>
</org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
</source>
- <target class="org.drools.eclipse.flow.ruleflow.core.JoinWrapper" reference="112"/>
+ <target class="org.drools.eclipse.flow.ruleflow.core.SplitWrapper" reference="116"/>
</default>
</org.drools.eclipse.flow.common.editor.core.ElementConnection>
<org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
<default>
- <connection class="org.drools.ruleflow.core.impl.ConnectionImpl" reference="21"/>
+ <connection class="org.drools.ruleflow.core.impl.ConnectionImpl" reference="29"/>
</default>
</org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
</org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
- <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper id="123" serialization="custom">
+ </incomingConnections>
+ <outgoingConnections id="140">
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper id="141" serialization="custom">
<org.drools.eclipse.flow.common.editor.core.ElementConnection>
<default>
<type>1</type>
- <bendpoints id="124"/>
- <source class="org.drools.eclipse.flow.ruleflow.core.RuleSetNodeWrapper" id="125" serialization="custom">
+ <bendpoints id="142"/>
+ <source class="org.drools.eclipse.flow.ruleflow.core.SplitWrapper" reference="116"/>
+ <target class="org.drools.eclipse.flow.ruleflow.core.ActionWrapper" id="143" serialization="custom">
<org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
<default>
- <constraint id="126">
- <x>213</x>
- <y>392</y>
+ <constraint id="144">
+ <x>263</x>
+ <y>287</y>
+ <width>107</width>
+ <height>40</height>
+ </constraint>
+ <element class="org.drools.ruleflow.core.impl.ActionNodeImpl" reference="63"/>
+ <incomingConnections id="145">
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper reference="141"/>
+ </incomingConnections>
+ <outgoingConnections id="146">
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper id="147" serialization="custom">
+ <org.drools.eclipse.flow.common.editor.core.ElementConnection>
+ <default>
+ <type>1</type>
+ <bendpoints id="148"/>
+ <source class="org.drools.eclipse.flow.ruleflow.core.ActionWrapper" reference="143"/>
+ <target class="org.drools.eclipse.flow.ruleflow.core.JoinWrapper" reference="80"/>
+ </default>
+ </org.drools.eclipse.flow.common.editor.core.ElementConnection>
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
+ <default>
+ <connection class="org.drools.ruleflow.core.impl.ConnectionImpl" reference="67"/>
+ </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="149">
+ <org.eclipse.ui.views.properties.TextPropertyDescriptor id="150">
+ <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="151">
+ <process class="org.drools.ruleflow.core.impl.RuleFlowProcessImpl" id="152">
+ <nodes id="153">
+ <entry>
+ <long>4</long>
+ <org.drools.ruleflow.core.impl.RuleSetNodeImpl reference="45"/>
+ </entry>
+ <entry>
+ <long>19</long>
+ <org.drools.ruleflow.core.impl.ActionNodeImpl reference="48"/>
+ </entry>
+ <entry>
+ <long>8</long>
+ <org.drools.ruleflow.core.impl.JoinImpl reference="42"/>
+ </entry>
+ <entry>
+ <long>11</long>
+ <org.drools.ruleflow.core.impl.JoinImpl reference="8"/>
+ </entry>
+ <entry>
+ <long>18</long>
+ <org.drools.ruleflow.core.impl.ActionNodeImpl reference="63"/>
+ </entry>
+ <entry>
+ <long>3</long>
+ <org.drools.ruleflow.core.impl.RuleSetNodeImpl reference="38"/>
+ </entry>
+ <entry>
+ <long>7</long>
+ <org.drools.ruleflow.core.impl.RuleSetNodeImpl reference="56"/>
+ </entry>
+ <entry>
+ <long>2</long>
+ <org.drools.ruleflow.core.impl.RuleSetNodeImpl reference="26"/>
+ </entry>
+ <entry>
+ <long>13</long>
+ <org.drools.ruleflow.core.impl.RuleSetNodeImpl reference="11"/>
+ </entry>
+ <entry>
+ <long>9</long>
+ <org.drools.ruleflow.core.impl.SplitImpl reference="14"/>
+ </entry>
+ <entry>
+ <long>6</long>
+ <org.drools.ruleflow.core.impl.SplitImpl reference="30"/>
+ </entry>
+ <entry>
+ <long>1</long>
+ <org.drools.ruleflow.core.impl.StartNodeImpl reference="21"/>
+ </entry>
+ <entry>
+ <long>20</long>
+ <org.drools.ruleflow.core.impl.ActionNodeImpl reference="33"/>
+ </entry>
+ <entry>
+ <long>10</long>
+ <org.drools.ruleflow.core.impl.JoinImpl reference="18"/>
+ </entry>
+ <entry>
+ <long>5</long>
+ <org.drools.ruleflow.core.impl.EndNodeImpl reference="5"/>
+ </entry>
+ </nodes>
+ <variables id="154"/>
+ <lastNodeId>20</lastNodeId>
+ <imports id="155">
+ <string>org.drools.examples.NumberGuessExample.Game</string>
+ <string>org.drools.examples.NumberGuessExample.GameRules</string>
+ <string>org.drools.examples.NumberGuessExample.RandomNumber</string>
+ </imports>
+ <id>Number Guess</id>
+ <name>Number Guess</name>
+ <type>RuleFlow</type>
+ </process>
+ <actionNode class="org.drools.ruleflow.core.impl.ActionNodeImpl" reference="63"/>
+ <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 class="org.drools.ruleflow.core.impl.ConnectionImpl" reference="62"/>
+ </default>
+ </org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
+ </org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper id="156" serialization="custom">
+ <org.drools.eclipse.flow.common.editor.core.ElementConnection>
+ <default>
+ <type>1</type>
+ <bendpoints id="157"/>
+ <source class="org.drools.eclipse.flow.ruleflow.core.SplitWrapper" reference="116"/>
+ <target class="org.drools.eclipse.flow.ruleflow.core.ActionWrapper" id="158" serialization="custom">
+ <org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
+ <default>
+ <constraint id="159">
+ <x>214</x>
+ <y>349</y>
<width>80</width>
<height>40</height>
</constraint>
- <element class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" reference="25"/>
- <incomingConnections id="127">
- <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper id="128" serialization="custom">
+ <element class="org.drools.ruleflow.core.impl.ActionNodeImpl" reference="48"/>
+ <incomingConnections id="160">
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper reference="156"/>
+ </incomingConnections>
+ <outgoingConnections id="161">
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper id="162" serialization="custom">
<org.drools.eclipse.flow.common.editor.core.ElementConnection>
<default>
<type>1</type>
- <bendpoints id="129"/>
- <source class="org.drools.eclipse.flow.ruleflow.core.SplitWrapper" reference="79"/>
- <target class="org.drools.eclipse.flow.ruleflow.core.RuleSetNodeWrapper" reference="125"/>
+ <bendpoints id="163"/>
+ <source class="org.drools.eclipse.flow.ruleflow.core.ActionWrapper" reference="158"/>
+ <target class="org.drools.eclipse.flow.ruleflow.core.RuleSetNodeWrapper" id="164" serialization="custom">
+ <org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
+ <default>
+ <constraint id="165">
+ <x>213</x>
+ <y>413</y>
+ <width>80</width>
+ <height>40</height>
+ </constraint>
+ <element class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" reference="45"/>
+ <incomingConnections id="166">
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper reference="162"/>
+ </incomingConnections>
+ <outgoingConnections id="167">
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper id="168" serialization="custom">
+ <org.drools.eclipse.flow.common.editor.core.ElementConnection>
+ <default>
+ <type>1</type>
+ <bendpoints id="169"/>
+ <source class="org.drools.eclipse.flow.ruleflow.core.RuleSetNodeWrapper" reference="164"/>
+ <target class="org.drools.eclipse.flow.ruleflow.core.JoinWrapper" reference="101"/>
+ </default>
+ </org.drools.eclipse.flow.common.editor.core.ElementConnection>
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
+ <default>
+ <connection class="org.drools.ruleflow.core.impl.ConnectionImpl" reference="44"/>
+ </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 class="org.drools.ruleflow.core.impl.ConnectionImpl" reference="27"/>
+ <connection class="org.drools.ruleflow.core.impl.ConnectionImpl" reference="47"/>
</default>
</org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
</org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
- </incomingConnections>
- <outgoingConnections id="130">
- <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper reference="123"/>
</outgoingConnections>
<parent class="org.drools.eclipse.flow.ruleflow.core.RuleFlowProcessWrapper" reference="1"/>
</default>
</org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
- </source>
- <target class="org.drools.eclipse.flow.ruleflow.core.JoinWrapper" reference="112"/>
+ <org.drools.eclipse.flow.ruleflow.core.ActionWrapper>
+ <default>
+ <descriptors id="170">
+ <org.eclipse.ui.views.properties.TextPropertyDescriptor reference="150"/>
+ <org.drools.eclipse.flow.ruleflow.view.property.action.ActionPropertyDescriptor id="171">
+ <process class="org.drools.ruleflow.core.impl.RuleFlowProcessImpl" reference="152"/>
+ <actionNode class="org.drools.ruleflow.core.impl.ActionNodeImpl" reference="48"/>
+ <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 class="org.drools.ruleflow.core.impl.ConnectionImpl" reference="24"/>
+ <connection class="org.drools.ruleflow.core.impl.ConnectionImpl" reference="51"/>
</default>
</org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
</org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
- </incomingConnections>
- <outgoingConnections id="131">
- <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper reference="110"/>
+ <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.SplitWrapper>
+ <default/>
+ </org.drools.eclipse.flow.ruleflow.core.SplitWrapper>
</source>
- <target class="org.drools.eclipse.flow.ruleflow.core.RuleSetNodeWrapper" reference="107"/>
+ <target class="org.drools.eclipse.flow.ruleflow.core.ActionWrapper" reference="111"/>
</default>
</org.drools.eclipse.flow.common.editor.core.ElementConnection>
<org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
<default>
- <connection class="org.drools.ruleflow.core.impl.ConnectionImpl" reference="30"/>
+ <connection class="org.drools.ruleflow.core.impl.ConnectionImpl" reference="32"/>
</default>
</org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
</org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
</incomingConnections>
- <outgoingConnections id="132">
- <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper reference="104"/>
+ <outgoingConnections id="172">
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper reference="109"/>
</outgoingConnections>
<parent class="org.drools.eclipse.flow.ruleflow.core.RuleFlowProcessWrapper" reference="1"/>
</default>
</org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
- </source>
- <target class="org.drools.eclipse.flow.ruleflow.core.SplitWrapper" reference="101"/>
- </default>
- </org.drools.eclipse.flow.common.editor.core.ElementConnection>
- <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
- <default>
- <connection class="org.drools.ruleflow.core.impl.ConnectionImpl" reference="34"/>
- </default>
- </org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
- </org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
- </incomingConnections>
- <outgoingConnections id="133">
- <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper reference="98"/>
- <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper id="134" serialization="custom">
- <org.drools.eclipse.flow.common.editor.core.ElementConnection>
- <default>
- <type>1</type>
- <bendpoints id="135"/>
- <source class="org.drools.eclipse.flow.ruleflow.core.SplitWrapper" reference="101"/>
- <target class="org.drools.eclipse.flow.ruleflow.core.RuleSetNodeWrapper" id="136" serialization="custom">
- <org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
+ <org.drools.eclipse.flow.ruleflow.core.ActionWrapper>
<default>
- <constraint id="137">
- <x>631</x>
- <y>288</y>
- <width>102</width>
- <height>40</height>
- </constraint>
- <element class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" reference="38"/>
- <incomingConnections id="138">
- <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper reference="134"/>
- </incomingConnections>
- <outgoingConnections id="139">
- <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper id="140" serialization="custom">
- <org.drools.eclipse.flow.common.editor.core.ElementConnection>
- <default>
- <type>1</type>
- <bendpoints id="141"/>
- <source class="org.drools.eclipse.flow.ruleflow.core.RuleSetNodeWrapper" reference="136"/>
- <target class="org.drools.eclipse.flow.ruleflow.core.JoinWrapper" reference="69"/>
- </default>
- </org.drools.eclipse.flow.common.editor.core.ElementConnection>
- <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
- <default>
- <connection class="org.drools.ruleflow.core.impl.ConnectionImpl" reference="41"/>
- </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"/>
+ <descriptors id="173">
+ <org.eclipse.ui.views.properties.TextPropertyDescriptor reference="150"/>
+ <org.drools.eclipse.flow.ruleflow.view.property.action.ActionPropertyDescriptor id="174">
+ <process class="org.drools.ruleflow.core.impl.RuleFlowProcessImpl" reference="152"/>
+ <actionNode class="org.drools.ruleflow.core.impl.ActionNodeImpl" reference="33"/>
+ <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.common.editor.core.DefaultElementWrapper>
- </target>
+ </org.drools.eclipse.flow.ruleflow.core.ActionWrapper>
+ </source>
+ <target class="org.drools.eclipse.flow.ruleflow.core.RuleSetNodeWrapper" reference="106"/>
</default>
</org.drools.eclipse.flow.common.editor.core.ElementConnection>
<org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
@@ -604,62 +823,62 @@
</default>
</org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
</org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
+ </incomingConnections>
+ <outgoingConnections id="175">
+ <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.SplitWrapper>
- <default/>
- </org.drools.eclipse.flow.ruleflow.core.SplitWrapper>
</source>
- <target class="org.drools.eclipse.flow.ruleflow.core.JoinWrapper" reference="89"/>
+ <target class="org.drools.eclipse.flow.ruleflow.core.JoinWrapper" reference="101"/>
</default>
</org.drools.eclipse.flow.common.editor.core.ElementConnection>
<org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
<default>
- <connection class="org.drools.ruleflow.core.impl.ConnectionImpl" reference="43"/>
+ <connection class="org.drools.ruleflow.core.impl.ConnectionImpl" reference="41"/>
</default>
</org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
</org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper reference="168"/>
</incomingConnections>
- <outgoingConnections id="142">
- <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper reference="87"/>
+ <outgoingConnections id="176">
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper reference="99"/>
</outgoingConnections>
<parent class="org.drools.eclipse.flow.ruleflow.core.RuleFlowProcessWrapper" reference="1"/>
</default>
</org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
</source>
- <target class="org.drools.eclipse.flow.ruleflow.core.RuleSetNodeWrapper" reference="84"/>
+ <target class="org.drools.eclipse.flow.ruleflow.core.RuleSetNodeWrapper" reference="96"/>
</default>
</org.drools.eclipse.flow.common.editor.core.ElementConnection>
<org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
<default>
- <connection class="org.drools.ruleflow.core.impl.ConnectionImpl" reference="51"/>
+ <connection class="org.drools.ruleflow.core.impl.ConnectionImpl" reference="55"/>
</default>
</org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
</org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
</incomingConnections>
- <outgoingConnections id="143">
- <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper reference="82"/>
+ <outgoingConnections id="177">
+ <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>
</source>
- <target class="org.drools.eclipse.flow.ruleflow.core.SplitWrapper" reference="79"/>
+ <target class="org.drools.eclipse.flow.ruleflow.core.SplitWrapper" reference="90"/>
</default>
</org.drools.eclipse.flow.common.editor.core.ElementConnection>
<org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
<default>
- <connection class="org.drools.ruleflow.core.impl.ConnectionImpl" reference="55"/>
+ <connection class="org.drools.ruleflow.core.impl.ConnectionImpl" reference="59"/>
</default>
</org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
</org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
</incomingConnections>
- <outgoingConnections id="144">
- <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper reference="120"/>
- <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper reference="128"/>
- <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper reference="77"/>
+ <outgoingConnections id="178">
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper reference="135"/>
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper reference="88"/>
</outgoingConnections>
<parent class="org.drools.eclipse.flow.ruleflow.core.RuleFlowProcessWrapper" reference="1"/>
</default>
@@ -668,7 +887,7 @@
<default/>
</org.drools.eclipse.flow.ruleflow.core.SplitWrapper>
</source>
- <target class="org.drools.eclipse.flow.ruleflow.core.RuleSetNodeWrapper" reference="74"/>
+ <target class="org.drools.eclipse.flow.ruleflow.core.RuleSetNodeWrapper" reference="85"/>
</default>
</org.drools.eclipse.flow.common.editor.core.ElementConnection>
<org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
@@ -678,14 +897,14 @@
</org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
</org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
</incomingConnections>
- <outgoingConnections id="145">
- <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper reference="72"/>
+ <outgoingConnections id="179">
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper reference="83"/>
</outgoingConnections>
<parent class="org.drools.eclipse.flow.ruleflow.core.RuleFlowProcessWrapper" reference="1"/>
</default>
</org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
</source>
- <target class="org.drools.eclipse.flow.ruleflow.core.JoinWrapper" reference="69"/>
+ <target class="org.drools.eclipse.flow.ruleflow.core.JoinWrapper" reference="80"/>
</default>
</org.drools.eclipse.flow.common.editor.core.ElementConnection>
<org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
@@ -694,10 +913,10 @@
</default>
</org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
</org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
- <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper reference="140"/>
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper reference="147"/>
</incomingConnections>
- <outgoingConnections id="146">
- <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper reference="67"/>
+ <outgoingConnections id="180">
+ <org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper reference="78"/>
</outgoingConnections>
<parent class="org.drools.eclipse.flow.ruleflow.core.RuleFlowProcessWrapper" reference="1"/>
</default>
@@ -713,7 +932,7 @@
</org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
</org.drools.eclipse.flow.ruleflow.core.ConnectionWrapper>
</incomingConnections>
- <outgoingConnections id="147"/>
+ <outgoingConnections id="181"/>
<parent class="org.drools.eclipse.flow.ruleflow.core.RuleFlowProcessWrapper" reference="1"/>
</default>
</org.drools.eclipse.flow.common.editor.core.DefaultElementWrapper>
@@ -721,119 +940,62 @@
</entry>
<entry>
<string>9-Wrapper</string>
- <org.drools.eclipse.flow.ruleflow.core.SplitWrapper reference="101"/>
+ <org.drools.eclipse.flow.ruleflow.core.SplitWrapper reference="90"/>
</entry>
<entry>
<string>2-Wrapper</string>
- <org.drools.eclipse.flow.ruleflow.core.RuleSetNodeWrapper reference="84"/>
+ <org.drools.eclipse.flow.ruleflow.core.RuleSetNodeWrapper reference="121"/>
</entry>
<entry>
+ <string>18-Wrapper</string>
+ <org.drools.eclipse.flow.ruleflow.core.ActionWrapper reference="143"/>
+ </entry>
+ <entry>
<string>13-Wrapper</string>
- <org.drools.eclipse.flow.ruleflow.core.RuleSetNodeWrapper reference="136"/>
+ <org.drools.eclipse.flow.ruleflow.core.RuleSetNodeWrapper reference="85"/>
</entry>
<entry>
<string>4-Wrapper</string>
- <org.drools.eclipse.flow.ruleflow.core.RuleSetNodeWrapper reference="125"/>
+ <org.drools.eclipse.flow.ruleflow.core.RuleSetNodeWrapper reference="164"/>
</entry>
<entry>
<string>11-Wrapper</string>
- <org.drools.eclipse.flow.ruleflow.core.JoinWrapper reference="69"/>
+ <org.drools.eclipse.flow.ruleflow.core.JoinWrapper reference="80"/>
</entry>
<entry>
- <string>12-Wrapper</string>
- <org.drools.eclipse.flow.ruleflow.core.RuleSetNodeWrapper reference="74"/>
+ <string>19-Wrapper</string>
+ <org.drools.eclipse.flow.ruleflow.core.ActionWrapper reference="158"/>
</entry>
<entry>
<string>7-Wrapper</string>
- <org.drools.eclipse.flow.ruleflow.core.RuleSetNodeWrapper reference="107"/>
+ <org.drools.eclipse.flow.ruleflow.core.RuleSetNodeWrapper reference="96"/>
</entry>
<entry>
<string>3-Wrapper</string>
- <org.drools.eclipse.flow.ruleflow.core.RuleSetNodeWrapper reference="117"/>
+ <org.drools.eclipse.flow.ruleflow.core.RuleSetNodeWrapper reference="106"/>
</entry>
<entry>
<string>6-Wrapper</string>
- <org.drools.eclipse.flow.ruleflow.core.SplitWrapper reference="79"/>
+ <org.drools.eclipse.flow.ruleflow.core.SplitWrapper reference="116"/>
</entry>
<entry>
<string>10-Wrapper</string>
- <org.drools.eclipse.flow.ruleflow.core.JoinWrapper reference="89"/>
+ <org.drools.eclipse.flow.ruleflow.core.JoinWrapper reference="126"/>
</entry>
<entry>
<string>1-Wrapper</string>
- <org.drools.eclipse.flow.ruleflow.core.StartNodeWrapper reference="94"/>
+ <org.drools.eclipse.flow.ruleflow.core.StartNodeWrapper reference="131"/>
</entry>
<entry>
+ <string>20-Wrapper</string>
+ <org.drools.eclipse.flow.ruleflow.core.ActionWrapper reference="111"/>
+ </entry>
+ <entry>
<string>8-Wrapper</string>
- <org.drools.eclipse.flow.ruleflow.core.JoinWrapper reference="112"/>
+ <org.drools.eclipse.flow.ruleflow.core.JoinWrapper reference="101"/>
</entry>
</elements>
- <process class="org.drools.ruleflow.core.impl.RuleFlowProcessImpl" id="148">
- <nodes id="149">
- <entry>
- <long>4</long>
- <org.drools.ruleflow.core.impl.RuleSetNodeImpl reference="25"/>
- </entry>
- <entry>
- <long>8</long>
- <org.drools.ruleflow.core.impl.JoinImpl reference="22"/>
- </entry>
- <entry>
- <long>11</long>
- <org.drools.ruleflow.core.impl.JoinImpl reference="8"/>
- </entry>
- <entry>
- <long>3</long>
- <org.drools.ruleflow.core.impl.RuleSetNodeImpl reference="18"/>
- </entry>
- <entry>
- <long>7</long>
- <org.drools.ruleflow.core.impl.RuleSetNodeImpl reference="31"/>
- </entry>
- <entry>
- <long>12</long>
- <org.drools.ruleflow.core.impl.RuleSetNodeImpl reference="11"/>
- </entry>
- <entry>
- <long>2</long>
- <org.drools.ruleflow.core.impl.RuleSetNodeImpl reference="52"/>
- </entry>
- <entry>
- <long>13</long>
- <org.drools.ruleflow.core.impl.RuleSetNodeImpl reference="38"/>
- </entry>
- <entry>
- <long>9</long>
- <org.drools.ruleflow.core.impl.SplitImpl reference="35"/>
- </entry>
- <entry>
- <long>6</long>
- <org.drools.ruleflow.core.impl.SplitImpl reference="14"/>
- </entry>
- <entry>
- <long>1</long>
- <org.drools.ruleflow.core.impl.StartNodeImpl reference="47"/>
- </entry>
- <entry>
- <long>10</long>
- <org.drools.ruleflow.core.impl.JoinImpl reference="44"/>
- </entry>
- <entry>
- <long>5</long>
- <org.drools.ruleflow.core.impl.EndNodeImpl reference="5"/>
- </entry>
- </nodes>
- <variables id="150"/>
- <lastNodeId>13</lastNodeId>
- <imports id="151">
- <string>org.drools.examples.NumberGuessExample.Game</string>
- <string>org.drools.examples.NumberGuessExample.GameRules</string>
- <string>org.drools.examples.NumberGuessExample.RandomNumber</string>
- </imports>
- <id>Number Guess</id>
- <name>Number Guess</name>
- <type>RuleFlow</type>
- </process>
+ <process class="org.drools.ruleflow.core.impl.RuleFlowProcessImpl" reference="152"/>
<routerLayout>2</routerLayout>
</default>
</org.drools.eclipse.flow.common.editor.core.ProcessWrapper>
Modified: labs/jbossrules/trunk/drools-examples/drools-examples-drl/src/main/rules/org/drools/examples/NumberGuess.rfm
===================================================================
--- labs/jbossrules/trunk/drools-examples/drools-examples-drl/src/main/rules/org/drools/examples/NumberGuess.rfm 2007-08-18 00:10:11 UTC (rev 14339)
+++ labs/jbossrules/trunk/drools-examples/drools-examples-drl/src/main/rules/org/drools/examples/NumberGuess.rfm 2007-08-18 00:12:20 UTC (rev 14340)
@@ -9,292 +9,334 @@
<incomingConnections id="4">
<org.drools.ruleflow.core.impl.ConnectionImpl id="5">
<type>1</type>
- <from class="org.drools.ruleflow.core.impl.SplitImpl" id="6">
- <type>2</type>
- <constraints id="7">
- <entry>
- <org.drools.ruleflow.core.impl.ConnectionImpl id="8">
- <type>1</type>
- <from class="org.drools.ruleflow.core.impl.SplitImpl" reference="6"/>
- <to class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" id="9">
- <ruleFlowGroup>Guess correct</ruleFlowGroup>
- <id>12</id>
- <name>Guess correct</name>
- <incomingConnections id="10">
- <org.drools.ruleflow.core.impl.ConnectionImpl reference="8"/>
- </incomingConnections>
- <outgoingConnections id="11">
+ <from class="org.drools.ruleflow.core.impl.ActionNodeImpl" id="6">
+ <action class="org.drools.ruleflow.core.impl.DroolsConsequenceAction" id="7">
+ <consequence>System.out.println( "Your guess was too low" );</consequence>
+ </action>
+ <id>19</id>
+ <name>Too Low</name>
+ <incomingConnections id="8">
+ <org.drools.ruleflow.core.impl.ConnectionImpl id="9">
+ <type>1</type>
+ <from class="org.drools.ruleflow.core.impl.SplitImpl" id="10">
+ <type>2</type>
+ <constraints id="11">
+ <entry>
<org.drools.ruleflow.core.impl.ConnectionImpl id="12">
<type>1</type>
- <from class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" reference="9"/>
- <to class="org.drools.ruleflow.core.impl.JoinImpl" id="13">
- <type>2</type>
- <id>11</id>
- <name>No more guesses Join</name>
- <incomingConnections id="14">
+ <from class="org.drools.ruleflow.core.impl.SplitImpl" reference="10"/>
+ <to class="org.drools.ruleflow.core.impl.ActionNodeImpl" id="13">
+ <action class="org.drools.ruleflow.core.impl.DroolsConsequenceAction" id="14">
+ <consequence>System.out.println( "Your guess was too high" );</consequence>
+ </action>
+ <id>20</id>
+ <name>Too High</name>
+ <incomingConnections id="15">
<org.drools.ruleflow.core.impl.ConnectionImpl reference="12"/>
- <org.drools.ruleflow.core.impl.ConnectionImpl id="15">
+ </incomingConnections>
+ <outgoingConnections id="16">
+ <org.drools.ruleflow.core.impl.ConnectionImpl id="17">
<type>1</type>
- <from class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" id="16">
- <ruleFlowGroup>No more Guesses</ruleFlowGroup>
- <id>13</id>
- <name>No more Guesses</name>
- <incomingConnections id="17">
- <org.drools.ruleflow.core.impl.ConnectionImpl id="18">
+ <from class="org.drools.ruleflow.core.impl.ActionNodeImpl" reference="13"/>
+ <to class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" id="18">
+ <ruleFlowGroup>Too High</ruleFlowGroup>
+ <id>3</id>
+ <name>Too High</name>
+ <incomingConnections id="19">
+ <org.drools.ruleflow.core.impl.ConnectionImpl reference="17"/>
+ </incomingConnections>
+ <outgoingConnections id="20">
+ <org.drools.ruleflow.core.impl.ConnectionImpl id="21">
<type>1</type>
- <from class="org.drools.ruleflow.core.impl.SplitImpl" id="19">
+ <from class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" reference="18"/>
+ <to class="org.drools.ruleflow.core.impl.JoinImpl" id="22">
<type>2</type>
- <constraints id="20">
- <entry>
- <org.drools.ruleflow.core.impl.ConnectionImpl reference="18"/>
- <org.drools.ruleflow.core.impl.ConstraintImpl id="21">
- <name>No More Guesses</name>
- <constraint>GameRules( allowed : allowedGuesses )
-Game( guessCount >= allowed )</constraint>
- <priority>1</priority>
- </org.drools.ruleflow.core.impl.ConstraintImpl>
- </entry>
- <entry>
- <org.drools.ruleflow.core.impl.ConnectionImpl id="22">
- <type>1</type>
- <from class="org.drools.ruleflow.core.impl.SplitImpl" reference="19"/>
- <to class="org.drools.ruleflow.core.impl.JoinImpl" id="23">
- <type>2</type>
- <id>10</id>
- <name>More guesses Join</name>
- <incomingConnections id="24">
- <org.drools.ruleflow.core.impl.ConnectionImpl id="25">
- <type>1</type>
- <from class="org.drools.ruleflow.core.impl.StartNodeImpl" id="26">
- <id>1</id>
- <name>Start</name>
- <incomingConnections id="27"/>
- <outgoingConnections id="28">
- <org.drools.ruleflow.core.impl.ConnectionImpl reference="25"/>
- </outgoingConnections>
- </from>
- <to class="org.drools.ruleflow.core.impl.JoinImpl" reference="23"/>
- </org.drools.ruleflow.core.impl.ConnectionImpl>
- <org.drools.ruleflow.core.impl.ConnectionImpl reference="22"/>
- </incomingConnections>
- <outgoingConnections id="29">
- <org.drools.ruleflow.core.impl.ConnectionImpl id="30">
- <type>1</type>
- <from class="org.drools.ruleflow.core.impl.JoinImpl" reference="23"/>
- <to class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" id="31">
- <ruleFlowGroup>Guess</ruleFlowGroup>
- <id>2</id>
- <name>Guess</name>
- <incomingConnections id="32">
- <org.drools.ruleflow.core.impl.ConnectionImpl reference="30"/>
- </incomingConnections>
- <outgoingConnections id="33">
- <org.drools.ruleflow.core.impl.ConnectionImpl id="34">
- <type>1</type>
- <from class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" reference="31"/>
- <to class="org.drools.ruleflow.core.impl.SplitImpl" reference="6"/>
- </org.drools.ruleflow.core.impl.ConnectionImpl>
- </outgoingConnections>
- </to>
- </org.drools.ruleflow.core.impl.ConnectionImpl>
- </outgoingConnections>
- </to>
- </org.drools.ruleflow.core.impl.ConnectionImpl>
- <org.drools.ruleflow.core.impl.ConstraintImpl id="35">
- <name>More guesses</name>
- <constraint>GameRules( allowed : allowedGuesses )
-Game( guessCount < allowed )</constraint>
- <priority>1</priority>
- </org.drools.ruleflow.core.impl.ConstraintImpl>
- </entry>
- </constraints>
- <id>9</id>
- <name>More Guesses?</name>
- <incomingConnections id="36">
- <org.drools.ruleflow.core.impl.ConnectionImpl id="37">
+ <id>8</id>
+ <name>incorrect guess</name>
+ <incomingConnections id="23">
+ <org.drools.ruleflow.core.impl.ConnectionImpl reference="21"/>
+ <org.drools.ruleflow.core.impl.ConnectionImpl id="24">
<type>1</type>
- <from class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" id="38">
+ <from class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" reference="3"/>
+ <to class="org.drools.ruleflow.core.impl.JoinImpl" reference="22"/>
+ </org.drools.ruleflow.core.impl.ConnectionImpl>
+ </incomingConnections>
+ <outgoingConnections id="25">
+ <org.drools.ruleflow.core.impl.ConnectionImpl id="26">
+ <type>1</type>
+ <from class="org.drools.ruleflow.core.impl.JoinImpl" reference="22"/>
+ <to class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" id="27">
<ruleFlowGroup>Guess incorrect</ruleFlowGroup>
<id>7</id>
<name>Guess incorrect</name>
- <incomingConnections id="39">
- <org.drools.ruleflow.core.impl.ConnectionImpl id="40">
+ <incomingConnections id="28">
+ <org.drools.ruleflow.core.impl.ConnectionImpl reference="26"/>
+ </incomingConnections>
+ <outgoingConnections id="29">
+ <org.drools.ruleflow.core.impl.ConnectionImpl id="30">
<type>1</type>
- <from class="org.drools.ruleflow.core.impl.JoinImpl" id="41">
+ <from class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" reference="27"/>
+ <to class="org.drools.ruleflow.core.impl.SplitImpl" id="31">
<type>2</type>
- <id>8</id>
- <name>incorrect guess</name>
- <incomingConnections id="42">
- <org.drools.ruleflow.core.impl.ConnectionImpl id="43">
- <type>1</type>
- <from class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" id="44">
- <ruleFlowGroup>Too High</ruleFlowGroup>
- <id>3</id>
- <name>Too High</name>
- <incomingConnections id="45">
- <org.drools.ruleflow.core.impl.ConnectionImpl id="46">
- <type>1</type>
- <from class="org.drools.ruleflow.core.impl.SplitImpl" reference="6"/>
- <to class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" reference="44"/>
- </org.drools.ruleflow.core.impl.ConnectionImpl>
- </incomingConnections>
- <outgoingConnections id="47">
- <org.drools.ruleflow.core.impl.ConnectionImpl reference="43"/>
- </outgoingConnections>
- </from>
- <to class="org.drools.ruleflow.core.impl.JoinImpl" reference="41"/>
- </org.drools.ruleflow.core.impl.ConnectionImpl>
- <org.drools.ruleflow.core.impl.ConnectionImpl id="48">
- <type>1</type>
- <from class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" reference="3"/>
- <to class="org.drools.ruleflow.core.impl.JoinImpl" reference="41"/>
- </org.drools.ruleflow.core.impl.ConnectionImpl>
+ <constraints id="32">
+ <entry>
+ <org.drools.ruleflow.core.impl.ConnectionImpl id="33">
+ <type>1</type>
+ <from class="org.drools.ruleflow.core.impl.SplitImpl" reference="31"/>
+ <to class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" id="34">
+ <ruleFlowGroup>No more Guesses</ruleFlowGroup>
+ <id>13</id>
+ <name>No more Guesses</name>
+ <incomingConnections id="35">
+ <org.drools.ruleflow.core.impl.ConnectionImpl reference="33"/>
+ </incomingConnections>
+ <outgoingConnections id="36">
+ <org.drools.ruleflow.core.impl.ConnectionImpl id="37">
+ <type>1</type>
+ <from class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" reference="34"/>
+ <to class="org.drools.ruleflow.core.impl.JoinImpl" id="38">
+ <type>2</type>
+ <id>11</id>
+ <name>No more guesses Join</name>
+ <incomingConnections id="39">
+ <org.drools.ruleflow.core.impl.ConnectionImpl reference="37"/>
+ <org.drools.ruleflow.core.impl.ConnectionImpl id="40">
+ <type>1</type>
+ <from class="org.drools.ruleflow.core.impl.ActionNodeImpl" id="41">
+ <action class="org.drools.ruleflow.core.impl.DroolsConsequenceAction" id="42">
+ <consequence>System.out.println( "You guessed correctly" );</consequence>
+ </action>
+ <id>18</id>
+ <name>Guess Correct</name>
+ <incomingConnections id="43">
+ <org.drools.ruleflow.core.impl.ConnectionImpl id="44">
+ <type>1</type>
+ <from class="org.drools.ruleflow.core.impl.SplitImpl" reference="10"/>
+ <to class="org.drools.ruleflow.core.impl.ActionNodeImpl" reference="41"/>
+ </org.drools.ruleflow.core.impl.ConnectionImpl>
+ </incomingConnections>
+ <outgoingConnections id="45">
+ <org.drools.ruleflow.core.impl.ConnectionImpl reference="40"/>
+ </outgoingConnections>
+ </from>
+ <to class="org.drools.ruleflow.core.impl.JoinImpl" reference="38"/>
+ </org.drools.ruleflow.core.impl.ConnectionImpl>
+ </incomingConnections>
+ <outgoingConnections id="46">
+ <org.drools.ruleflow.core.impl.ConnectionImpl id="47">
+ <type>1</type>
+ <from class="org.drools.ruleflow.core.impl.JoinImpl" reference="38"/>
+ <to class="org.drools.ruleflow.core.impl.EndNodeImpl" id="48">
+ <id>5</id>
+ <name>End</name>
+ <incomingConnections id="49">
+ <org.drools.ruleflow.core.impl.ConnectionImpl reference="47"/>
+ </incomingConnections>
+ <outgoingConnections id="50"/>
+ </to>
+ </org.drools.ruleflow.core.impl.ConnectionImpl>
+ </outgoingConnections>
+ </to>
+ </org.drools.ruleflow.core.impl.ConnectionImpl>
+ </outgoingConnections>
+ </to>
+ </org.drools.ruleflow.core.impl.ConnectionImpl>
+ <org.drools.ruleflow.core.impl.ConstraintImpl id="51">
+ <name>No More Guesses</name>
+ <constraint>GameRules( allowed : allowedGuesses )
+Game( guessCount >= allowed )</constraint>
+ <priority>1</priority>
+ </org.drools.ruleflow.core.impl.ConstraintImpl>
+ </entry>
+ <entry>
+ <org.drools.ruleflow.core.impl.ConnectionImpl id="52">
+ <type>1</type>
+ <from class="org.drools.ruleflow.core.impl.SplitImpl" reference="31"/>
+ <to class="org.drools.ruleflow.core.impl.JoinImpl" id="53">
+ <type>2</type>
+ <id>10</id>
+ <name>More guesses Join</name>
+ <incomingConnections id="54">
+ <org.drools.ruleflow.core.impl.ConnectionImpl id="55">
+ <type>1</type>
+ <from class="org.drools.ruleflow.core.impl.StartNodeImpl" id="56">
+ <id>1</id>
+ <name>Start</name>
+ <incomingConnections id="57"/>
+ <outgoingConnections id="58">
+ <org.drools.ruleflow.core.impl.ConnectionImpl reference="55"/>
+ </outgoingConnections>
+ </from>
+ <to class="org.drools.ruleflow.core.impl.JoinImpl" reference="53"/>
+ </org.drools.ruleflow.core.impl.ConnectionImpl>
+ <org.drools.ruleflow.core.impl.ConnectionImpl reference="52"/>
+ </incomingConnections>
+ <outgoingConnections id="59">
+ <org.drools.ruleflow.core.impl.ConnectionImpl id="60">
+ <type>1</type>
+ <from class="org.drools.ruleflow.core.impl.JoinImpl" reference="53"/>
+ <to class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" id="61">
+ <ruleFlowGroup>Guess</ruleFlowGroup>
+ <id>2</id>
+ <name>Guess</name>
+ <incomingConnections id="62">
+ <org.drools.ruleflow.core.impl.ConnectionImpl reference="60"/>
+ </incomingConnections>
+ <outgoingConnections id="63">
+ <org.drools.ruleflow.core.impl.ConnectionImpl id="64">
+ <type>1</type>
+ <from class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" reference="61"/>
+ <to class="org.drools.ruleflow.core.impl.SplitImpl" reference="10"/>
+ </org.drools.ruleflow.core.impl.ConnectionImpl>
+ </outgoingConnections>
+ </to>
+ </org.drools.ruleflow.core.impl.ConnectionImpl>
+ </outgoingConnections>
+ </to>
+ </org.drools.ruleflow.core.impl.ConnectionImpl>
+ <org.drools.ruleflow.core.impl.ConstraintImpl id="65">
+ <name>More guesses</name>
+ <constraint>GameRules( allowed : allowedGuesses )
+Game( guessCount < allowed )</constraint>
+ <priority>1</priority>
+ </org.drools.ruleflow.core.impl.ConstraintImpl>
+ </entry>
+ </constraints>
+ <id>9</id>
+ <name>More Guesses?</name>
+ <incomingConnections id="66">
+ <org.drools.ruleflow.core.impl.ConnectionImpl reference="30"/>
</incomingConnections>
- <outgoingConnections id="49">
- <org.drools.ruleflow.core.impl.ConnectionImpl reference="40"/>
+ <outgoingConnections id="67">
+ <org.drools.ruleflow.core.impl.ConnectionImpl reference="52"/>
+ <org.drools.ruleflow.core.impl.ConnectionImpl reference="33"/>
</outgoingConnections>
- </from>
- <to class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" reference="38"/>
+ </to>
</org.drools.ruleflow.core.impl.ConnectionImpl>
- </incomingConnections>
- <outgoingConnections id="50">
- <org.drools.ruleflow.core.impl.ConnectionImpl reference="37"/>
</outgoingConnections>
- </from>
- <to class="org.drools.ruleflow.core.impl.SplitImpl" reference="19"/>
+ </to>
</org.drools.ruleflow.core.impl.ConnectionImpl>
- </incomingConnections>
- <outgoingConnections id="51">
- <org.drools.ruleflow.core.impl.ConnectionImpl reference="22"/>
- <org.drools.ruleflow.core.impl.ConnectionImpl reference="18"/>
</outgoingConnections>
- </from>
- <to class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" reference="16"/>
+ </to>
</org.drools.ruleflow.core.impl.ConnectionImpl>
- </incomingConnections>
- <outgoingConnections id="52">
- <org.drools.ruleflow.core.impl.ConnectionImpl reference="15"/>
</outgoingConnections>
- </from>
- <to class="org.drools.ruleflow.core.impl.JoinImpl" reference="13"/>
- </org.drools.ruleflow.core.impl.ConnectionImpl>
- </incomingConnections>
- <outgoingConnections id="53">
- <org.drools.ruleflow.core.impl.ConnectionImpl id="54">
- <type>1</type>
- <from class="org.drools.ruleflow.core.impl.JoinImpl" reference="13"/>
- <to class="org.drools.ruleflow.core.impl.EndNodeImpl" id="55">
- <id>5</id>
- <name>End</name>
- <incomingConnections id="56">
- <org.drools.ruleflow.core.impl.ConnectionImpl reference="54"/>
- </incomingConnections>
- <outgoingConnections id="57"/>
</to>
</org.drools.ruleflow.core.impl.ConnectionImpl>
</outgoingConnections>
</to>
</org.drools.ruleflow.core.impl.ConnectionImpl>
- </outgoingConnections>
- </to>
- </org.drools.ruleflow.core.impl.ConnectionImpl>
- <org.drools.ruleflow.core.impl.ConstraintImpl id="58">
- <name>Guess correct</name>
- <constraint>RandomNumber( randomValue : value )
-Guess( value == randomValue )</constraint>
- <priority>1</priority>
- </org.drools.ruleflow.core.impl.ConstraintImpl>
- </entry>
- <entry>
- <org.drools.ruleflow.core.impl.ConnectionImpl reference="46"/>
- <org.drools.ruleflow.core.impl.ConstraintImpl id="59">
- <name>Guess to high</name>
- <constraint>RandomNumber( randomValue : value )
+ <org.drools.ruleflow.core.impl.ConstraintImpl id="68">
+ <name>too high</name>
+ <constraint>RandomNumber( randomValue : value ) &&
Guess( value > randomValue )</constraint>
- <priority>1</priority>
- </org.drools.ruleflow.core.impl.ConstraintImpl>
- </entry>
- <entry>
- <org.drools.ruleflow.core.impl.ConnectionImpl reference="5"/>
- <org.drools.ruleflow.core.impl.ConstraintImpl id="60">
- <name>Guess to low</name>
- <constraint>RandomNumber( randomValue : value )
+ <priority>1</priority>
+ </org.drools.ruleflow.core.impl.ConstraintImpl>
+ </entry>
+ <entry>
+ <org.drools.ruleflow.core.impl.ConnectionImpl reference="9"/>
+ <org.drools.ruleflow.core.impl.ConstraintImpl id="69">
+ <name>too low</name>
+ <constraint>RandomNumber( randomValue : value ) &&
Guess( value < randomValue )</constraint>
- <priority>1</priority>
- </org.drools.ruleflow.core.impl.ConstraintImpl>
- </entry>
- </constraints>
- <id>6</id>
- <name>Guess correct?</name>
- <incomingConnections id="61">
- <org.drools.ruleflow.core.impl.ConnectionImpl reference="34"/>
+ <priority>1</priority>
+ </org.drools.ruleflow.core.impl.ConstraintImpl>
+ </entry>
+ <entry>
+ <org.drools.ruleflow.core.impl.ConnectionImpl reference="44"/>
+ <org.drools.ruleflow.core.impl.ConstraintImpl id="70">
+ <name>correct</name>
+ <constraint>RandomNumber( randomValue : value ) &&
+Guess( value == randomValue )</constraint>
+ <priority>1</priority>
+ </org.drools.ruleflow.core.impl.ConstraintImpl>
+ </entry>
+ </constraints>
+ <id>6</id>
+ <name>Guess correct?</name>
+ <incomingConnections id="71">
+ <org.drools.ruleflow.core.impl.ConnectionImpl reference="64"/>
+ </incomingConnections>
+ <outgoingConnections id="72">
+ <org.drools.ruleflow.core.impl.ConnectionImpl reference="44"/>
+ <org.drools.ruleflow.core.impl.ConnectionImpl reference="9"/>
+ <org.drools.ruleflow.core.impl.ConnectionImpl reference="12"/>
+ </outgoingConnections>
+ </from>
+ <to class="org.drools.ruleflow.core.impl.ActionNodeImpl" reference="6"/>
+ </org.drools.ruleflow.core.impl.ConnectionImpl>
</incomingConnections>
- <outgoingConnections id="62">
- <org.drools.ruleflow.core.impl.ConnectionImpl reference="46"/>
+ <outgoingConnections id="73">
<org.drools.ruleflow.core.impl.ConnectionImpl reference="5"/>
- <org.drools.ruleflow.core.impl.ConnectionImpl reference="8"/>
</outgoingConnections>
</from>
<to class="org.drools.ruleflow.core.impl.RuleSetNodeImpl" reference="3"/>
</org.drools.ruleflow.core.impl.ConnectionImpl>
</incomingConnections>
- <outgoingConnections id="63">
- <org.drools.ruleflow.core.impl.ConnectionImpl reference="48"/>
+ <outgoingConnections id="74">
+ <org.drools.ruleflow.core.impl.ConnectionImpl reference="24"/>
</outgoingConnections>
</org.drools.ruleflow.core.impl.RuleSetNodeImpl>
</entry>
<entry>
+ <long>19</long>
+ <org.drools.ruleflow.core.impl.ActionNodeImpl reference="6"/>
+ </entry>
+ <entry>
<long>8</long>
- <org.drools.ruleflow.core.impl.JoinImpl reference="41"/>
+ <org.drools.ruleflow.core.impl.JoinImpl reference="22"/>
</entry>
<entry>
<long>11</long>
- <org.drools.ruleflow.core.impl.JoinImpl reference="13"/>
+ <org.drools.ruleflow.core.impl.JoinImpl reference="38"/>
</entry>
<entry>
+ <long>18</long>
+ <org.drools.ruleflow.core.impl.ActionNodeImpl reference="41"/>
+ </entry>
+ <entry>
<long>3</long>
- <org.drools.ruleflow.core.impl.RuleSetNodeImpl reference="44"/>
+ <org.drools.ruleflow.core.impl.RuleSetNodeImpl reference="18"/>
</entry>
<entry>
<long>7</long>
- <org.drools.ruleflow.core.impl.RuleSetNodeImpl reference="38"/>
+ <org.drools.ruleflow.core.impl.RuleSetNodeImpl reference="27"/>
</entry>
<entry>
- <long>12</long>
- <org.drools.ruleflow.core.impl.RuleSetNodeImpl reference="9"/>
- </entry>
- <entry>
<long>2</long>
- <org.drools.ruleflow.core.impl.RuleSetNodeImpl reference="31"/>
+ <org.drools.ruleflow.core.impl.RuleSetNodeImpl reference="61"/>
</entry>
<entry>
<long>13</long>
- <org.drools.ruleflow.core.impl.RuleSetNodeImpl reference="16"/>
+ <org.drools.ruleflow.core.impl.RuleSetNodeImpl reference="34"/>
</entry>
<entry>
<long>9</long>
- <org.drools.ruleflow.core.impl.SplitImpl reference="19"/>
+ <org.drools.ruleflow.core.impl.SplitImpl reference="31"/>
</entry>
<entry>
<long>6</long>
- <org.drools.ruleflow.core.impl.SplitImpl reference="6"/>
+ <org.drools.ruleflow.core.impl.SplitImpl reference="10"/>
</entry>
<entry>
<long>1</long>
- <org.drools.ruleflow.core.impl.StartNodeImpl reference="26"/>
+ <org.drools.ruleflow.core.impl.StartNodeImpl reference="56"/>
</entry>
<entry>
+ <long>20</long>
+ <org.drools.ruleflow.core.impl.ActionNodeImpl reference="13"/>
+ </entry>
+ <entry>
<long>10</long>
- <org.drools.ruleflow.core.impl.JoinImpl reference="23"/>
+ <org.drools.ruleflow.core.impl.JoinImpl reference="53"/>
</entry>
<entry>
<long>5</long>
- <org.drools.ruleflow.core.impl.EndNodeImpl reference="55"/>
+ <org.drools.ruleflow.core.impl.EndNodeImpl reference="48"/>
</entry>
</nodes>
- <variables id="64"/>
- <lastNodeId>13</lastNodeId>
- <imports id="65">
+ <variables id="75"/>
+ <lastNodeId>20</lastNodeId>
+ <imports id="76">
<string>org.drools.examples.NumberGuessExample.Game</string>
<string>org.drools.examples.NumberGuessExample.GameRules</string>
<string>org.drools.examples.NumberGuessExample.RandomNumber</string>
More information about the jboss-svn-commits
mailing list