public class SyncPolicy
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SyncPolicy.TargetPresentPolicy |
static class |
SyncPolicy.UnknownTargetPolicy |
| Modifier and Type | Field and Description |
|---|---|
static SyncPolicy |
COPY
This Sync policy is conservative, making sure existing items in the target are kept as they were.
|
static SyncPolicy |
SYNC
This Sync policy makes sure the source and the target are exactly aligned.
|
static SyncPolicy |
SYNC_KEEP
This Sync policy makes sure the source and the target common elements are synchronised.
|
| Constructor and Description |
|---|
SyncPolicy() |
| Modifier and Type | Method and Description |
|---|---|
<T,D> SyncResult |
sync(SyncConfig<T,D> config) |
public static final SyncPolicy COPY
public static final SyncPolicy SYNC
public static final SyncPolicy SYNC_KEEP
public <T,D> SyncResult sync(SyncConfig<T,D> config)