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

PropertyReturnsDescription
changesMap<String,ChangedProperty>The properties that differ between the source and destination item, indexed by property name.
createdbooleanWhether the config item did not exist in the source snapshot but has been added in the destination snapshot.
deletedbooleanWhether the config item existed in the source snapshot but has been removed from the destination snapshot.
portableIdStringPortable id of the config item this bean describes.
updatedbooleanWhether 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.

To get full access to the Kademi Hub existing customers can login here, or new customers can register here.