org.jbpm.process.builder.dialect.mvel
Class MVELActionBuilder
java.lang.Object
org.jbpm.process.builder.dialect.mvel.MVELActionBuilder
- All Implemented Interfaces:
- ActionBuilder
public class MVELActionBuilder
- extends Object
- implements ActionBuilder
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MVELActionBuilder
public MVELActionBuilder()
build
public void build(org.drools.rule.builder.PackageBuildContext context,
DroolsAction action,
org.drools.lang.descr.ActionDescr actionDescr,
ContextResolver contextResolver)
- Specified by:
build
in interface ActionBuilder
processMacros
public static String processMacros(String consequence)
delimitExpressions
public static String delimitExpressions(String s)
- Allows newlines to demarcate expressions, as per MVEL command line.
If expression spans multiple lines (ie inside an unbalanced bracket) then
it is left alone.
Uses character based iteration which is at least an order of magnitude faster then a single
simple regex.
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.