T
- The configuration type.public interface ConfigOwner<T extends WidgetConfig>
Modifier and Type | Method and Description |
---|---|
void |
afterConfigUpdate(T beforeUpdate)
The method is called after the configuration associated with the
owner changes.
|
T |
config()
Returns config instance associated with this instance.
|
T config()
void afterConfigUpdate(T beforeUpdate)
The implemented logic must be idempotent - the method must produce the same results if executed once or multiple times not relying on any particular call sequence or related state. This is necessary so that the method can be repeated or retried as often as necessary without causing unintended effects
beforeUpdate
- Config reference capturing the config state before
the owner's config was modified.