public class SyncType
extends java.lang.Object
If you want to specify to sync only specific parts of content, please use this class in
conjunction with CDAClient.sync(SyncType)
and one of the static methods defined here.
Modifier and Type | Class and Description |
---|---|
static class |
SyncType.Type
What should be synced?
|
Modifier and Type | Method and Description |
---|---|
static SyncType |
allAssets() |
static SyncType |
allEntries() |
java.lang.String |
getContentType() |
java.lang.String |
getName() |
static SyncType |
onlyDeletedAssets() |
static SyncType |
onlyDeletedEntries() |
static SyncType |
onlyDeletion() |
static SyncType |
onlyEntriesOfType(java.lang.String type)
Sync all entries of a specific content type.
|
public static SyncType allAssets()
public static SyncType allEntries()
public static SyncType onlyEntriesOfType(java.lang.String type)
type
- which content type to sync.public static SyncType onlyDeletion()
public static SyncType onlyDeletedAssets()
public static SyncType onlyDeletedEntries()
public java.lang.String getName()
public java.lang.String getContentType()
Copyright © 2019 Contentful, GmbH.. All Rights Reserved.