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, getLatest
getVersion, isFull, isIncremental
public 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()
VersionedDataUpdate
isEmpty
in class VersionedDataUpdate
Copyright © 2024 Tempo Software. All Rights Reserved.