public class StateMachine
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
logger |
Constructor and Description |
---|
StateMachine(ISyncStorage store) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
generateSyncKey(ItemDataType type) |
java.lang.String |
generateSyncKey(ItemDataType type,
Changes changes) |
java.lang.String |
generateSyncKey(ItemDataType type,
FolderChanges changes) |
java.lang.String |
generateSyncKey(SyncState st) |
SyncState |
getFolderSyncState(BackendSession bs,
java.lang.String syncKey) |
SyncState |
getSyncState(BackendSession bs,
int folderId,
java.lang.String syncKey) |
public StateMachine(ISyncStorage store)
public SyncState getFolderSyncState(BackendSession bs, java.lang.String syncKey)
bs
- syncKey
- public SyncState getSyncState(BackendSession bs, int folderId, java.lang.String syncKey) throws CollectionNotFoundException
folderId
- syncKey
- CollectionNotFoundException
public java.lang.String generateSyncKey(ItemDataType type)
type
- public java.lang.String generateSyncKey(ItemDataType type, Changes changes)
public java.lang.String generateSyncKey(ItemDataType type, FolderChanges changes)
public java.lang.String generateSyncKey(SyncState st)
Copyright © 2021. All Rights Reserved.