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.

@FunctionalInterface public interface DefinedContexts<T>
  • Method Summary

    Modifier and Type
    Method
    Description
    get(MenuInfo info)
    Gets the set of defined contexts for a template.
  • Method Details

    • get

      Set<T> get(MenuInfo info)
      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 using TemplateBuilder.definedContexts(DefinedContexts).
      Parameters:
      info - the MenuInfo context object
      Returns:
      the set of defined contexts