Class RTXRELCompiler


  • public final class RTXRELCompiler
    extends Object
    Compile REL expressions for use with RTX.
    • 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.