Class CombinedCelValueProvider

  • All Implemented Interfaces:
    CelValueProvider

    @Immutable
    public final class CombinedCelValueProvider
    extends java.lang.Object
    implements CelValueProvider
    The CombinedCelValueProvider takes one or more CelValueProvider instances and attempts to create a CelValue instance for a given struct type name by calling each value provider in the order that they are provided to the constructor.
    • Method Detail

      • newValue

        public java.util.Optional<java.lang.Object> newValue​(java.lang.String structType,
                                                             java.util.Map<java.lang.String,​java.lang.Object> fields)
        Description copied from interface: CelValueProvider
        Constructs a new struct value, or a primitive value in case the fully qualified struct name is a wrapper.
        Specified by:
        newValue in interface CelValueProvider