Package com.redwood.scheduler.api.rtx
Class RTXRELCompiler
- java.lang.Object
-
- com.redwood.scheduler.api.rtx.RTXRELCompiler
-
public final class RTXRELCompiler extends Object
Compile REL expressions for use with RTX.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> RTXRowRELScript<T>
compileRowExpression(String code, Class<T> returnType)
Compile an expression that can be used with rows.static void
set(com.redwood.scheduler.api.scripting.module.RTXRELCompilerSPI newHelper)
NOT FOR CUSTOMER USE.
-
-
-
Method Detail
-
set
public static void set(com.redwood.scheduler.api.scripting.module.RTXRELCompilerSPI newHelper)
NOT FOR CUSTOMER USE.- Parameters:
newHelper
- NOT FOR CUSTOMER USE.
-
compileRowExpression
public static <T> RTXRowRELScript<T> compileRowExpression(String code, Class<T> returnType) throws Exception
Compile an expression that can be used with rows.- Parameters:
code
- a REL expression with no leading =returnType
- the expected return type.- Returns:
- a compiled expression that can be reused.
- Throws:
Exception
- if the script cannot be compiled.
-
-