Package dev.aurelium.slate.function
Interface DefinedContexts<T>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
-
Method Details
-
get
Gets the set of defined contexts for a template. This is the set of context instances used to determine how many possible instances of a template can be created. This must be defined for a template when built usingTemplateBuilder.definedContexts(DefinedContexts).- Parameters:
info- theMenuInfocontext object- Returns:
- the set of defined contexts
-