Interface ContextParser<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 ContextParser<T>
  • Method Summary

    Modifier and Type
    Method
    Description
    parse(String menuName, String input)
    Parses a context type from the menu name and input string.
  • Method Details

    • parse

      T parse(String menuName, String input)
      Parses a context type from the menu name and input string.
      Parameters:
      menuName - the name of the menu as registered in the plugin
      input - the input string, which is usually the name of a map under the contexts map of a template
      Returns:
      the parsed context type