Class FEELFnResult<T>


  • public class FEELFnResult<T>
    extends Either<org.kie.dmn.api.feel.runtime.events.FEELEvent,​T>
    • Constructor Detail

      • FEELFnResult

        protected FEELFnResult​(java.util.Optional<org.kie.dmn.api.feel.runtime.events.FEELEvent> left,
                               java.util.Optional<T> right)
    • Method Detail

      • ofError

        public static <T> FEELFnResult<T> ofError​(org.kie.dmn.api.feel.runtime.events.FEELEvent event)
      • ofResult

        public static <T> FEELFnResult<T> ofResult​(T value)
      • map

        public <X> FEELFnResult<X> map​(java.util.function.Function<T,​X> rightFn)