All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dev.aurelium.auraskills.api.menu.ContextParser Maven / Gradle / Ivy

There is a newer version: 2.2.3
Show newest version
package dev.aurelium.auraskills.api.menu;

@FunctionalInterface
public interface ContextParser {

    /**
     * Parses a context type from the menu name and input string.
     *
     * @param menuName the name of the menu as registered in the plugin
     * @param input the input string, which is usually the name of a map under the contexts map of a template
     * @return the parsed context type
     */
    T parse(String menuName, String input);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy