[jbpm-commits] JBoss JBPM SVN: r5510 - jbpm4/trunk/modules/userguide/src/main/docbook/en/modules.
do-not-reply at jboss.org
do-not-reply at jboss.org
Mon Aug 24 06:13:24 EDT 2009
Author: jbarrez
Date: 2009-08-24 06:13:24 -0400 (Mon, 24 Aug 2009)
New Revision: 5510
Modified:
jbpm4/trunk/modules/userguide/src/main/docbook/en/modules/ch06-Jpdl.xml
Log:
Fix for JBPM-2490
Modified: jbpm4/trunk/modules/userguide/src/main/docbook/en/modules/ch06-Jpdl.xml
===================================================================
--- jbpm4/trunk/modules/userguide/src/main/docbook/en/modules/ch06-Jpdl.xml 2009-08-24 09:43:56 UTC (rev 5509)
+++ jbpm4/trunk/modules/userguide/src/main/docbook/en/modules/ch06-Jpdl.xml 2009-08-24 10:13:24 UTC (rev 5510)
@@ -434,7 +434,7 @@
will be responsible for selecting the name of the outgoing transition.
</para>
<programlisting>public interface DecisionHandler {
- String select(OpenExecution execution);
+ String decide(OpenExecution execution);
}</programlisting>
<para>The handler is specified as a sub element of the decision</para>
<table><title><literal>decision.handler</literal> attributes:</title>
@@ -488,7 +488,7 @@
<para>The ContentEvaluation class looks like this</para>
<programlisting>public class ContentEvaluation implements DecisionHandler {
- public String select(OpenExecution execution) {
+ public String decide(OpenExecution execution) {
String content = (String) execution.getVariable("content");
if (content.equals("you're great")) {
return "good";
More information about the jbpm-commits
mailing list