JSON-serialisable snapshot of a ConfigDelta, used to pass a config item's changes to an app's applyConfig implementation and to render it in the config deployment admin UI. Produced by ConfigDelta.toBean, it carries only the changed property values and the created / deleted / updated state, not the full source and destination ConfigItem objects.
Properties
| Property | Returns | Description |
|---|---|---|
| changes | Map<String,ChangedProperty> | The properties that differ between the source and destination item, indexed by property name. |
| created | boolean | Whether the config item did not exist in the source snapshot but has been added in the destination snapshot. |
| deleted | boolean | Whether the config item existed in the source snapshot but has been removed from the destination snapshot. |
| portableId | String | Portable id of the config item this bean describes. |
| updated | boolean | Whether the config item existed in both snapshots, so is neither newly created nor deleted. |
Methods
getPortableId()
Returns: String
Portable id of the config item this bean describes.
getChanges()
Returns: Map<String,ChangedProperty>
The properties that differ between the source and destination item, indexed by property name.
isDeleted()
Returns: boolean
Whether the config item existed in the source snapshot but has been removed from the destination snapshot.
isCreated()
Returns: boolean
Whether the config item did not exist in the source snapshot but has been added in the destination snapshot.
isUpdated()
Returns: boolean
Whether the config item existed in both snapshots, so is neither newly created nor deleted.