[Yanel-dev] What is setExpression() method good for?
Josias Thöny
josias.thoeny at wyona.com
Wed May 7 09:05:20 CEST 2008
Michael Wechner wrote:
> Hi
>
> What is the setExpression() method of the class
>
> src/core/java/org/wyona/yanel/core/workflow/Condition.java
This method is used when a workflow configuration is read from a file
and the workflow engine is built. The expression of a condition is the
text content of a <condition> element, e.g. "write" in the following
example:
<condition
class="org.wyona.yanel.impl.workflow.RoleCondition">write</condition>
Maybe this method should not be part of the interface, but each
condition implementation should read the condition element itself.
josias
>
> good for?
>
> Thanks
>
> Michi
>
--
Josias Thöny
Wyona - Open Source Content Management
http://www.wyona.com
More information about the Yanel-development
mailing list