public static final class VersionedForestUpdate.Incremental extends VersionedForestUpdate
getUpdates() and apply the changes
to their old forest. Can also work as an empty update if there are no changes.VersionedForestUpdate.Full, VersionedForestUpdate.Incremental| Constructor and Description |
|---|
Incremental(VersionedForest latest,
List<ForestChange> updates) |
Incremental(VersionedForest latest,
List<ForestChange> updates,
ForestSourceHealthStatus health) |
| Modifier and Type | Method and Description |
|---|---|
List<ForestChange> |
getUpdates() |
boolean |
isEmpty()
Returns true if the update is "empty", that is, the caller may keep the state, because it is up-to-date.
|
asIncremental, getHealth, getLatestgetVersion, isFull, isIncrementalpublic Incremental(VersionedForest latest, @NotNull List<ForestChange> updates, ForestSourceHealthStatus health)
public Incremental(VersionedForest latest, @NotNull List<ForestChange> updates)
@NotNull public List<ForestChange> getUpdates()
public boolean isEmpty()
VersionedDataUpdateisEmpty in class VersionedDataUpdateCopyright © 2022 ALM Works. All Rights Reserved.