Class SynchronizationResult
java.lang.Object
org.ametys.plugins.repository.data.holder.values.SynchronizationResult
- Direct Known Subclasses:
ContentSynchronizationResult
Result of a synchronization
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaggregateResult(SynchronizationResult result) Aggregate the given result to the current onebooleanDetermines if some values have changed during the synchronizationvoidsetHasChanged(boolean hasChanged) Set totrueif a value hasChanged during the synchronization
-
Constructor Details
-
SynchronizationResult
public SynchronizationResult()
-
-
Method Details
-
hasChanged
Determines if some values have changed during the synchronization- Returns:
trueif some values have changed during the synchronization,falseotherwise
-
setHasChanged
Set totrueif a value hasChanged during the synchronization- Parameters:
hasChanged-trueif a value hasChanged during the synchronization,falseotherwise
-
aggregateResult
Aggregate the given result to the current one- Parameters:
result- the result to aggregate to the current one
-