/** * Create a full result that represents the complete content of the configuration source. * * @param complete * map that contains all the properties */ public static WatchedUpdateResult createFull(Map<String, Object> complete) { return new WatchedUpdateResult(complete); }
/** * Create a full result that represents the complete content of the configuration source. * * @param complete * map that contains all the properties */ public static WatchedUpdateResult createFull(Map<String, Object> complete) { return new WatchedUpdateResult(complete); }
/** * Create a result that represents incremental changes from the configuration source. * * @param added * properties added * @param changed * properties changed * @param deleted * properties deleted, in which case the value in the map will be ignored */ public static WatchedUpdateResult createIncremental(Map<String, Object> added, Map<String, Object> changed, Map<String, Object> deleted) { return new WatchedUpdateResult(added, changed, deleted); }
/** * Create a result that represents incremental changes from the configuration source. * * @param added * properties added * @param changed * properties changed * @param deleted * properties deleted, in which case the value in the map will be ignored */ public static WatchedUpdateResult createIncremental(Map<String, Object> added, Map<String, Object> changed, Map<String, Object> deleted) { return new WatchedUpdateResult(added, changed, deleted); }