org.squirrelframework.foundation.fsm.MvelScriptManager Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of squirrel-foundation Show documentation
Show all versions of squirrel-foundation Show documentation
foundation module of squirrel framework which provided event driven infrastructure and a finite state machine implementation.
package org.squirrelframework.foundation.fsm;
public interface MvelScriptManager {
public final static String SEPARATOR_CHARS = ":::";
public final static String VAR_FROM = "from";
public final static String VAR_TO = "to";
public final static String VAR_EVENT = "event";
public final static String VAR_CONTEXT = "context";
public final static String VAR_STATE_MACHINE = "stateMachine";
public final static String VAR_EXCEPTION = "exception";
T eval(String script, Object context, Class returnType);
void compile(String script);
boolean evalBoolean(String script, Object context);
}