|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ektorp.ReplicationCommand.Builder
public static class ReplicationCommand.Builder
Constructor Summary | |
---|---|
ReplicationCommand.Builder()
|
Method Summary | |
---|---|
ReplicationCommand |
build()
|
ReplicationCommand.Builder |
cancel(boolean b)
true cancels a continuous replication task |
ReplicationCommand.Builder |
continuous(boolean b)
true makes replication continuous |
ReplicationCommand.Builder |
createTarget(boolean b)
To create the target database (remote or local) prior to replication. |
ReplicationCommand.Builder |
docIds(Collection<String> docIds)
Restricts replication to the specified document ids. |
ReplicationCommand.Builder |
filter(String s)
Specify a filter function. |
ReplicationCommand.Builder |
proxy(String s)
Pass a "proxy" argument in the replication data to have replication go through an HTTP proxy |
ReplicationCommand.Builder |
queryParams(Object o)
Pass parameters to the filter function if specified. |
ReplicationCommand.Builder |
source(String s)
Source and target can both point at local databases, remote databases and any combination of these. |
ReplicationCommand.Builder |
target(String s)
Source and target can both point at local databases, remote databases and any combination of these If your local CouchDB instance is secured by an admin account, you need to use the full URL format. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ReplicationCommand.Builder()
Method Detail |
---|
public ReplicationCommand.Builder source(String s)
s
-
public ReplicationCommand.Builder target(String s)
s
-
public ReplicationCommand.Builder proxy(String s)
s
-
public ReplicationCommand.Builder filter(String s)
s
-
public ReplicationCommand.Builder docIds(Collection<String> docIds)
docIds
-
public ReplicationCommand.Builder continuous(boolean b)
b
-
public ReplicationCommand.Builder cancel(boolean b)
b
-
public ReplicationCommand.Builder queryParams(Object o)
o
-
public ReplicationCommand.Builder createTarget(boolean b)
b
-
public ReplicationCommand build()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |