Class OgnlEvaluator

java.lang.Object
com.peterphi.std.guice.common.ognl.OgnlEvaluator

public class OgnlEvaluator extends Object
  • Field Details

    • PUBLIC_ACCESS

      public static final ognl.MemberAccess PUBLIC_ACCESS
    • ALLOW_COMPILE

      public static boolean ALLOW_COMPILE
    • COMPILE_THRESHOLD

      public static int COMPILE_THRESHOLD
  • Constructor Details

  • Method Details

    • isTrue

      public boolean isTrue(Object obj)
      Treat the OGNL expression as a boolean condition
      Parameters:
      obj -
      Returns:
    • evaluate

      public Object evaluate(Object obj)
    • getValue

      public <T> T getValue(Object root, Class<T> expected)
    • toString

      public String toString()
      Overrides:
      toString in class Object