Interface Configurable<C extends Configuration>


public interface Configurable<C extends Configuration>
Represents a component that can be configured using a configuration.
  • Method Details

    • getConfigurationPath

      String getConfigurationPath()
      Get the configuration path from the root to here.
      Returns:
      The configuration path.
    • getConfiguration

      C getConfiguration()
      Get the configuration.
      Returns:
      The configuration.
    • of

      static <C extends Configuration> Configurable<C> of(String path, Function<Configurable<C>,C> config)