Class ValueExpressionImpl<T>

    • Field Detail

      • expression

        private final java.lang.String expression
      • resolvedValue

        private final T resolvedValue
    • Constructor Detail

      • ValueExpressionImpl

        ValueExpressionImpl​(java.lang.String expression,
                            T resolvedValue)
    • Method Detail

      • getResolvedValue

        public T getResolvedValue()
        Description copied from interface: ValueExpression
        The resolved value.

        If this is an expression the resolved value will be the value from a system property or the default value from the expression if the system property is not set.

        If this is not an expression the value returned will be the non-expression value or null if allowed for the property.

        Specified by:
        getResolvedValue in interface ValueExpression<T>
        Returns:
        the resolved value
      • isExpression

        public boolean isExpression()
        Description copied from interface: ValueExpression
        Checks whether this is an expression or not.
        Specified by:
        isExpression in interface ValueExpression<T>
        Returns:
        true if this is an expression, otherwise false
      • toString

        public java.lang.String toString()
        Specified by:
        toString in interface ValueExpression<T>
        Overrides:
        toString in class java.lang.Object