Interface ConfigListener<M extends PMessage<M>>

  • All Known Implementing Classes:
    ReferenceConfigSupplier
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface ConfigListener<M extends PMessage<M>>
    Interface for handling reactions to update of a config message.
    • Method Detail

      • onConfigChange

        void onConfigChange​(@Nonnull
                            M config)
        Called when the config is updated. Does not necessary mean the config did change it's values.
        Parameters:
        config - The new config instance.