Class SynchronizationResult
- java.lang.Object
-
- org.ametys.plugins.repository.data.holder.values.SynchronizationResult
-
- Direct Known Subclasses:
ContentSynchronizationResult
public class SynchronizationResult extends Object
Result of a synchronization
-
-
Field Summary
Fields Modifier and Type Field Description private boolean_hasChanged
-
Constructor Summary
Constructors Constructor Description SynchronizationResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaggregateResult(SynchronizationResult result)Aggregate the given result to the current onebooleanhasChanged()Determines if some values have changed during the synchronizationvoidsetHasChanged(boolean hasChanged)Set totrueif a value hasChanged during the synchronization
-
-
-
Field Detail
-
_hasChanged
private boolean _hasChanged
-
-
Constructor Detail
-
SynchronizationResult
public SynchronizationResult()
-
-
Method Detail
-
hasChanged
public boolean hasChanged()
Determines if some values have changed during the synchronization- Returns:
trueif some values have changed during the synchronization,falseotherwise
-
setHasChanged
public void setHasChanged(boolean hasChanged)
Set totrueif a value hasChanged during the synchronization- Parameters:
hasChanged-trueif a value hasChanged during the synchronization,falseotherwise
-
aggregateResult
public void aggregateResult(SynchronizationResult result)
Aggregate the given result to the current one- Parameters:
result- the result to aggregate to the current one
-
-