Package io.dialob.program.model
Interface ConditionalValue<T>
-
- All Superinterfaces:
ProgramNode,Serializable,Value<T>
- All Known Implementing Classes:
ImmutableConditionalValue
@Immutable public interface ConditionalValue<T> extends ProgramNode, Value<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Teval(EvalContext evalContext)TgetFallbackValue()TgetValue()ValueTypegetValueType()ExpressiongetWhen()
-
-
-
Method Detail
-
getWhen
Expression getWhen()
-
getValue
@Nullable T getValue()
-
getFallbackValue
@Nullable T getFallbackValue()
-
getValueType
ValueType getValueType()
- Specified by:
getValueTypein interfaceValue<T>
-
eval
default T eval(EvalContext evalContext)
-
-