@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 TypeMethodDescriptiondefault voidSets the config to apply to this property.default booleanReturnstrueif this instance is already configured to prevent further configuration.
-
Method Details
-
configure
Sets the config to apply to this property.- Parameters:
config- The config to apply
-
isConfigured
default boolean isConfigured()Returnstrueif this instance is already configured to prevent further configuration.- Returns:
trueif this instance is already configured
-