Holds the config item deltas of one type, such as settings, within a single app's AppDeltas. Carries a property recording whether this group of changes has been actioned during deployment review, and if so how (auto-applied, manually applied, or ignored). The XML element name is "AppTypeDeltas".
Group: Account Settings
Properties
| Property | Returns | Description |
|---|---|---|
| action | AppTypeAction | How this group of changes has been actioned during deployment review, if at all. |
| changes | List<ConfigDelta> | The config item deltas in this group, one per changed item of this type. |
| empty | boolean | Whether this group has no changes at all. |
| first | ConfigDelta | The first change in this group, a convenience for callers that only need to inspect one representative delta. |
| id | String | Id of the app this group of changes belongs to. |
| type | String | The config item type this group of changes belongs to, for example the settings type constant or an app-specific entity type name. |
Methods
isEmpty()
Returns: boolean
Whether this group has no changes at all.
getFirst()
Returns: ConfigDelta
The first change in this group, a convenience for callers that only need to inspect one representative delta.
getChanges()
Returns: List<ConfigDelta>
The config item deltas in this group, one per changed item of this type.
getType()
Returns: String
The config item type this group of changes belongs to, for example the settings type constant or an app-specific entity type name.
getId()
Returns: String
Id of the app this group of changes belongs to.
getAction()
Returns: AppTypeAction
How this group of changes has been actioned during deployment review, if at all.
withChanges(List<ConfigDelta> changes)
Returns: AppTypeDeltas
Returns a new AppTypeDeltas for the same app and type with its list of changes replaced, for example after the admin UI has recorded an owner and notes against each delta via ConfigDelta.withOwner. Does not modify this instance.
| Parameter | Description |
|---|---|
changes | the replacement list of changes |