Class FEELFnResult<T>
- java.lang.Object
-
- org.kie.dmn.feel.util.Either<org.kie.dmn.api.feel.runtime.events.FEELEvent,T>
-
- org.kie.dmn.feel.runtime.functions.FEELFnResult<T>
-
public class FEELFnResult<T> extends Either<org.kie.dmn.api.feel.runtime.events.FEELEvent,T>
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedFEELFnResult(Optional<org.kie.dmn.api.feel.runtime.events.FEELEvent> left, Optional<T> right)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <X> FEELFnResult<X>map(Function<T,X> rightFn)static <T> FEELFnResult<T>ofError(org.kie.dmn.api.feel.runtime.events.FEELEvent event)static <T> FEELFnResult<T>ofResult(T value)
-
-
-
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(Function<T,X> rightFn)
-
-