Package org.incendo.cloud.component
Interface DefaultValue.DefaultValueProvider<C,T>
- Enclosing interface:
DefaultValue<C,T>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@API(status=STABLE)
@FunctionalInterface
public static interface DefaultValue.DefaultValueProvider<C,T>
-
Method Summary
Modifier and TypeMethodDescriptionevaluateDefault(@NonNull CommandContext<C> context) Evaluates the default value for the givencontext.
-
Method Details
-
evaluateDefault
Evaluates the default value for the givencontext.- Parameters:
context- the context- Returns:
- the default value
-