public interface DirectorySynchronisationTokenStore
Modifier and Type | Method and Description |
---|---|
void |
clearSynchronisationTokenForDirectory(long directoryId)
Clears the synchronisation token for the given directory
|
String |
getLastSynchronisationTokenForDirectory(long directoryId)
Returns the last stored synchronisation token for the directory
|
void |
storeSynchronisationTokenForDirectory(long directoryId,
String syncStatus)
Store a new synchronisation token for the given directory.
|
@Nullable String getLastSynchronisationTokenForDirectory(long directoryId)
directoryId
- the id of the directoryvoid storeSynchronisationTokenForDirectory(long directoryId, String syncStatus)
directoryId
- the id of the directorysynchronisationToken
- the new token to storevoid clearSynchronisationTokenForDirectory(long directoryId)
directoryId
- directory idCopyright © 2021 Atlassian. All rights reserved.