Interface PermissibleLoader


public interface PermissibleLoader

The PermissibleLoader interface defines methods for loading a Permissible from a configuration.

  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the key used to define the type of permissible.
    fr.maxlego08.menu.api.requirement.Permissible
    load(String path, TypedMapAccessor accessor, File file)
    Creates a Permissible based on the provided configuration.
  • Method Details

    • getKey

      String getKey()
      Returns the key used to define the type of permissible.
      Returns:
      The key.
    • load

      fr.maxlego08.menu.api.requirement.Permissible load(String path, TypedMapAccessor accessor, File file)
      Creates a Permissible based on the provided configuration.
      Parameters:
      path - The path in the configuration file.
      accessor - The map accessor that contains the configuration elements.
      file - The file where the configuration is located.
      Returns:
      The loaded Permissible.