org.squirrelframework.foundation.fsm.impl
Class MvelScriptManagerImpl

java.lang.Object
  extended by org.squirrelframework.foundation.fsm.impl.MvelScriptManagerImpl
All Implemented Interfaces:
MvelScriptManager

public class MvelScriptManagerImpl
extends Object
implements MvelScriptManager


Field Summary
 
Fields inherited from interface org.squirrelframework.foundation.fsm.MvelScriptManager
SEPARATOR_CHARS, VAR_CONTEXT, VAR_EVENT, VAR_EXCEPTION, VAR_FROM, VAR_STATE_MACHINE, VAR_TO
 
Constructor Summary
MvelScriptManagerImpl()
           
 
Method Summary
 void compile(String script)
           
<T> T
eval(String script, Object context, Class<T> returnType)
           
 boolean evalBoolean(String script, Object context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MvelScriptManagerImpl

public MvelScriptManagerImpl()
Method Detail

eval

public <T> T eval(String script,
                  Object context,
                  Class<T> returnType)
Specified by:
eval in interface MvelScriptManager

compile

public void compile(String script)
Specified by:
compile in interface MvelScriptManager

evalBoolean

public boolean evalBoolean(String script,
                           Object context)
Specified by:
evalBoolean in interface MvelScriptManager


Copyright © 2013-2014. All Rights Reserved.