public static enum DesignDocument.Option extends Enum<DesignDocument.Option>
Optional design document options.
Enum Constant and Description |
---|
REPLICA_UPDATE_MIN_CHANGES
The minimum changes to perform on a design document before replica indexing is triggered.
|
UPDATE_MIN_CHANGES
The minimum changes to perform on a design document before indexing is triggered.
|
Modifier and Type | Method and Description |
---|---|
String |
alias() |
static DesignDocument.Option |
fromName(String name) |
static DesignDocument.Option |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DesignDocument.Option[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DesignDocument.Option UPDATE_MIN_CHANGES
public static final DesignDocument.Option REPLICA_UPDATE_MIN_CHANGES
public static DesignDocument.Option[] values()
for (DesignDocument.Option c : DesignDocument.Option.values()) System.out.println(c);
public static DesignDocument.Option valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String alias()
public static DesignDocument.Option fromName(String name)
Copyright © 2015 Couchbase, Inc.