Class DefaultRuleParameterFilterValueProvider

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object evaluate​(java.lang.String value, java.lang.Object contextObject)
      Performs evaluation of the provided filter expression encoded within its value, matching it against object that acts as an evaluation context
      java.lang.String getParameterId​(java.lang.String value)
      Identifies parameter id within the provided String value
      protected org.springframework.expression.ExpressionParser getParser()  
      void setParser​(org.springframework.expression.ExpressionParser parser)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultRuleParameterFilterValueProvider

        public DefaultRuleParameterFilterValueProvider()
    • Method Detail

      • getParameterId

        public java.lang.String getParameterId​(java.lang.String value)
        Description copied from interface: RuleParameterFilterValueProvider
        Identifies parameter id within the provided String value
        Specified by:
        getParameterId in interface RuleParameterFilterValueProvider
        Parameters:
        value - - whole value to identify parameter id from
        Returns:
        parameter id from the provided value
      • evaluate

        public java.lang.Object evaluate​(java.lang.String value,
                                         java.lang.Object contextObject)
        Description copied from interface: RuleParameterFilterValueProvider
        Performs evaluation of the provided filter expression encoded within its value, matching it against object that acts as an evaluation context
        Specified by:
        evaluate in interface RuleParameterFilterValueProvider
        Parameters:
        value - - whole value to identify parameter id from
        contextObject - - object used as a context for the evaluated expression
        Returns:
        evaluated object based on the provided expression and context
      • getParser

        protected org.springframework.expression.ExpressionParser getParser()
      • setParser

        public void setParser​(org.springframework.expression.ExpressionParser parser)