Class MVELVariables


  • public class MVELVariables
    extends Object
    The MVELVariables is utility class for MVEL. It can be used to inspect the MVEL Variable Context.
    Author:
    maurice.zeijen@smies.com
    • Constructor Detail

      • MVELVariables

        public MVELVariables​(org.mvel2.integration.VariableResolverFactory variableResolverFactory)
    • Method Detail

      • isdef

        public boolean isdef​(String var)
        Returns true if the variable is defined within the MVEL Context.
        Parameters:
        var -
        Returns:
      • isResolveable

        public boolean isResolveable​(String var)
        Returns true if the variable is defined within the MVEL Context.
        Parameters:
        var -
        Returns:
      • isUnresolveable

        public boolean isUnresolveable​(String var)
        Returns true if the variable is not defined within the MVEL Context.
        Parameters:
        var -
        Returns:
      • get

        public Object get​(String var)
        Returns the value of the variable or null if it is not defined.
        Parameters:
        var -
        Returns: