Interface ConfigSubscriber


public interface ConfigSubscriber
This interface may be implemented by plugins in config classes.

It provides hooks for read and write operations.

  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    This method is invoked after the configuration has been read.
    default void
    A hook that is called before writing configurations.
  • Method Details

    • postRead

      default void postRead(Configurations<?> config)
      This method is invoked after the configuration has been read.
      Parameters:
      config - the configuration object that has been read
    • preWrite

      default void preWrite(Configurations<?> config)
      A hook that is called before writing configurations. This method can be overridden by implementing classes to perform actions prior to a configuration write operation.
      Parameters:
      config - the configuration object to be written