Class CheckedValue<T>

    • Constructor Detail

      • CheckedValue

        public CheckedValue​(Class<T> valueClass,
                            Value<?> value)
        Deprecated.
        Construct a new instance.
        Parameters:
        valueClass - the value class
        value - the delegate value
    • 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.