Class MethodValue<T>

    • Constructor Detail

      • MethodValue

        public MethodValue​(Value<Method> methodValue,
                           Value<?> targetValue,
                           List<? extends Value<?>> parameters)
        Deprecated.
        Construct a new instance.
        Parameters:
        methodValue - the method to invoke
        targetValue - the target object on which to invoke this method
        parameters - the parameters to pass to the method
    • Method Detail

      • getValue

        public T getValue()
                   throws IllegalStateException
        Deprecated.
        Get the actual dependency value.
        Specified by:
        getValue in interface Value<T>
        Returns:
        the actual dependency value
        Throws:
        IllegalStateException - if the value is time-sensitive and the current state does not allow retrieval.