Interface Configurable


@API(status=STABLE, since="1.0") public interface Configurable
Interface for classes suitable for configuration. Allows to be configured by an instance of Config at runtime.
Since:
0.1
Version:
1.0, 2019-07
Author:
(w) Iker Hernaez
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    configure(@NotNull Config config)
    Sets the config to apply to this property.
    default boolean
    Returns true if this instance is already configured to prevent further configuration.
  • Method Details

    • configure

      default void configure(@NotNull @NotNull Config config)
      Sets the config to apply to this property.
      Parameters:
      config - The config to apply
    • isConfigured

      default boolean isConfigured()
      Returns true if this instance is already configured to prevent further configuration.
      Returns:
      true if this instance is already configured