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 TypeMethodDescriptiondefault voidpostRead(Configurations<?> config) This method is invoked after the configuration has been read.default voidpreWrite(Configurations<?> config) A hook that is called before writing configurations.
-
Method Details
-
postRead
This method is invoked after the configuration has been read.- Parameters:
config- the configuration object that has been read
-
preWrite
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
-