Class JoorExpression.Builder

All Implemented Interfaces:
LanguageBuilder<JoorExpression>
Enclosing class:
JoorExpression

public static class JoorExpression.Builder extends TypedExpressionDefinition.AbstractBuilder<JoorExpression.Builder,JoorExpression>
Builder is a specific builder for JoorExpression.
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • preCompile

      public JoorExpression.Builder preCompile(String preCompile)
      Whether the expression should be pre compiled once during initialization phase. If this is turned off, then the expression is reloaded and compiled on each evaluation.
    • preCompile

      public JoorExpression.Builder preCompile(boolean preCompile)
      Whether the expression should be pre compiled once during initialization phase. If this is turned off, then the expression is reloaded and compiled on each evaluation.
    • singleQuotes

      public JoorExpression.Builder singleQuotes(String singleQuotes)
      Whether single quotes can be used as replacement for double quotes. This is convenient when you need to work with strings inside strings.
    • singleQuotes

      public JoorExpression.Builder singleQuotes(boolean singleQuotes)
      Whether single quotes can be used as replacement for double quotes. This is convenient when you need to work with strings inside strings.
    • end

      public JoorExpression end()
      Description copied from interface: LanguageBuilder
      Ends the build of an expression.
      Returns:
      the expression fully built.