Class VersionedForestUpdate.Incremental
Object
VersionedDataUpdate
VersionedForestUpdate
Incremental
- Enclosing class:
- VersionedForestUpdate
Represents an incremental update. The caller is supposed to use
getUpdates()
and apply the changes
to their old forest. Can also work as an empty update if there are no changes.-
Nested Class Summary
Nested classes/interfaces inherited from class VersionedForestUpdate
VersionedForestUpdate.Full, VersionedForestUpdate.Incremental
-
Constructor Summary
ConstructorsConstructorDescriptionIncremental
(VersionedForest latest, List<ForestChange> updates) Incremental
(VersionedForest latest, List<ForestChange> updates, ForestSourceHealthStatus health) -
Method Summary
Modifier and TypeMethodDescriptionboolean
isEmpty()
Returns true if the update is "empty", that is, the caller may keep the state, because it is up-to-date.Methods inherited from class VersionedForestUpdate
asIncremental, getHealth, getLatest
Methods inherited from class VersionedDataUpdate
getVersion, isFull, isIncremental
-
Constructor Details
-
Incremental
public Incremental(VersionedForest latest, @NotNull List<ForestChange> updates, ForestSourceHealthStatus health) -
Incremental
-
-
Method Details
-
getUpdates
-
isEmpty
public boolean isEmpty()Description copied from class:VersionedDataUpdate
Returns true if the update is "empty", that is, the caller may keep the state, because it is up-to-date.- Overrides:
isEmpty
in classVersionedDataUpdate
-