Class JexlBuilder

java.lang.Object
org.apache.commons.jexl3.JexlBuilder
net.simplace.core.jexl.JexlBuilder

public class JexlBuilder extends org.apache.commons.jexl3.JexlBuilder
JEXL builder for SIMPLACE rules: allows all classes (empty permissions) and registers the namespaces array (JexlArrayBuilder), transform (JexlUnitTransform), math (StrictMath), check (JexlChecker) and file (JexlFile).
Author:
Andreas Enders
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Map<String,Object>
    the namespaces of SIMPLACE rules (prefix name:) and their classes, read only

    Fields inherited from class org.apache.commons.jexl3.JexlBuilder

    CACHE_THRESHOLD
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates the builder with the SIMPLACE permissions and namespaces.
  • Method Summary

    Methods inherited from class org.apache.commons.jexl3.JexlBuilder

    antish, antish, arithmetic, arithmetic, cache, cache, cacheFactory, cacheFactory, cacheThreshold, cacheThreshold, cancellable, cancellable, charset, charset, collectAll, collectAll, collectMode, collectMode, create, debug, debug, features, features, imports, imports, imports, lexical, lexical, lexicalShade, lexicalShade, loader, loader, loader, logger, logger, namespaces, namespaces, options, permissions, permissions, safe, safe, sandbox, sandbox, setDefaultPermissions, silent, silent, stackOverflow, stackOverflow, strategy, strategy, strict, strict, uberspect, uberspect

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • NAMESPACES

      public static final Map<String,Object> NAMESPACES
      the namespaces of SIMPLACE rules (prefix name:) and their classes, read only
  • Constructor Details

    • JexlBuilder

      public JexlBuilder()
      Creates the builder with the SIMPLACE permissions and namespaces.