Class DurationFunction
- java.lang.Object
-
- org.kie.dmn.feel.runtime.functions.BaseFEELFunction
-
- org.kie.dmn.feel.runtime.functions.DurationFunction
-
- All Implemented Interfaces:
FEELFunction
public class DurationFunction extends BaseFEELFunction
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.kie.dmn.feel.runtime.FEELFunction
FEELFunction.Param
-
-
Field Summary
Fields Modifier and Type Field Description static DurationFunctionINSTANCE
-
Constructor Summary
Constructors Constructor Description DurationFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FEELFnResult<TemporalAmount>invoke(String val)FEELFnResult<TemporalAmount>invoke(TemporalAmount val)This is the identity function implementation-
Methods inherited from class org.kie.dmn.feel.runtime.functions.BaseFEELFunction
getName, getParameters, getSymbol, invoke, invokeReflectively, isCustomFunction, setName
-
-
-
-
Field Detail
-
INSTANCE
public static final DurationFunction INSTANCE
-
-
Method Detail
-
invoke
public FEELFnResult<TemporalAmount> invoke(String val)
-
invoke
public FEELFnResult<TemporalAmount> invoke(TemporalAmount val)
This is the identity function implementation- Parameters:
val-- Returns:
-
-