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
-
-
Constructor Summary
Constructors Constructor Description SynchronizationResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
aggregateResult(SynchronizationResult result)
Aggregate the given result to the current oneboolean
hasChanged()
Determines if some values have changed during the synchronizationvoid
setHasChanged(boolean hasChanged)
Set totrue
if a value hasChanged during the synchronization
-
-
-
Constructor Detail
-
SynchronizationResult
public SynchronizationResult()
-
-
Method Detail
-
hasChanged
public boolean hasChanged()
Determines if some values have changed during the synchronization- Returns:
true
if some values have changed during the synchronization,false
otherwise
-
setHasChanged
public void setHasChanged(boolean hasChanged)
Set totrue
if a value hasChanged during the synchronization- Parameters:
hasChanged
-true
if a value hasChanged during the synchronization,false
otherwise
-
aggregateResult
public void aggregateResult(SynchronizationResult result)
Aggregate the given result to the current one- Parameters:
result
- the result to aggregate to the current one
-
-