Class ExecutionAttribute.MappedAttributeBuilder<T,​U>

  • Enclosing class:
    ExecutionAttribute<T>

    protected static final class ExecutionAttribute.MappedAttributeBuilder<T,​U>
    extends Object
    • Method Detail

      • writeMapping

        public ExecutionAttribute.MappedAttributeBuilder<T,​U> writeMapping​(BiFunction<U,​T,​U> writeMapping)
        Set the "write" mapping for this derived attribute. The provided function accepts the current value of the mapped attribute, the value that we are mapping from (the "backing" attribute), and returns the value to set to the mapped attribute.