Class ConfigChanges
java.lang.Object
com.tccc.kos.commons.core.service.config.ConfigChanges
When beans are configured, the changes to the beans are recorded in this object.
- Since:
- 1.0
- Version:
- 2022-09-01
-
Method Summary
Modifier and TypeMethodDescriptionboolean
containsPath
(String path) Return true if the bean with the specified handle path has changes.Return the map of all bean changes.getBeanChanges
(String path) Return the changes for the specified handle path.getChanges
(String path, String name) Return the change data for the specified handle path / name if there is any.getPaths()
Return the collection of changed handle paths.Return the associated tracking token provided by the client.boolean
isEmpty()
Return true if there are no recorded changes.
-
Method Details
-
getTracker
Return the associated tracking token provided by the client.- Returns:
- the change tracking token
-
isEmpty
public boolean isEmpty()Return true if there are no recorded changes.- Returns:
- true if no changes
-
containsPath
Return true if the bean with the specified handle path has changes.- Parameters:
path
- the handle path to check- Returns:
- true if the bean was changed
-
getPaths
Return the collection of changed handle paths.- Returns:
- the changed handle paths
-
getBeanChanges
Return the map of all bean changes.- Returns:
- the changes
-
getBeanChanges
Return the changes for the specified handle path.- Parameters:
path
- the handle path to query- Returns:
- the changes or null
-
getChanges
Return the change data for the specified handle path / name if there is any.- Parameters:
path
- the handle path of the beanname
- the bean attribute name- Returns:
- the associated changes or null
-