Interface ConfigurationNotificationEvent<VIEWT>
- Type Parameters:
VIEWT- Type of the subtree or the value that has been changed.
public interface ConfigurationNotificationEvent<VIEWT>
Event object propagated on configuration change. Passed to listeners after configuration changes are applied.
-
Method Summary
Modifier and TypeMethodDescription@Nullable StringReturns new value of the key of a named list item for the parent (any from the root) or current configuration.newValue()Returns updated value of the configuration.<T> TReturns new value of the parent (any from the root) or current configuration.@Nullable StringReturns old value of the key of a named list item for the parent (any from the root) or current configuration.oldValue()Returns the previous value of the updated configuration.<T> TReturns old value of the parent (any from the root) or current configuration.longReturns monotonously increasing counter, linked to the specific storage for current configuration values.
-
Method Details
-
oldValue
Returns the previous value of the updated configuration.NOTE: For a new configuration/property will be
null. -
oldValue
Returns old value of the parent (any from the root) or current configuration.For example, if we changed the child configuration, then we can get both the parent and the current child configuration.
- Type Parameters:
T- Configuration type.- Parameters:
viewClass- Configuration interface, for exampleRootView.class.
-
newValue
Returns updated value of the configuration. -
newValue
Returns new value of the parent (any from the root) or current configuration.For example, if we changed the child configuration, then we can get both the parent and the current child configuration.
- Type Parameters:
T- Configuration type.- Parameters:
viewClass- Configuration interface, for exampleRootView.class.
-
storageRevision
long storageRevision()Returns monotonously increasing counter, linked to the specific storage for current configuration values. Gives a unique change identifier inside a specific configuration storage.- Returns:
- Counter value.
-
oldName
Returns old value of the key of a named list item for the parent (any from the root) or current configuration.For example, if a column of a table has changed, then we can get the name of the table and columns for which the changes have occurred.
- Parameters:
viewClass- Configuration interface, for exampleTableView.class.
-
newName
Returns new value of the key of a named list item for the parent (any from the root) or current configuration.For example, if a column of a table has changed, then we can get the name of the table and columns for which the changes have occurred.
- Parameters:
viewClass- Configuration interface, for exampleTableView.class.
-