Package dev.aurelium.auraskills.api.menu
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.
-
Method Summary
-
Method Details
-
parse
Parses a context type from the menu name and input string.- Parameters:
menuName
- the name of the menu as registered in the plugininput
- the input string, which is usually the name of a map under the contexts map of a template- Returns:
- the parsed context type
-