public static enum MongoCollection.ValidateMode extends Enum<MongoCollection.ValidateMode>
| Enum Constant and Description | 
|---|
FULL
Validates the data and indexes performing all checks. 
 | 
INDEX_ONLY
Validates the indexes only and not the collection data. 
 | 
NORMAL
Validates the data and indexes but skips some checks. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static MongoCollection.ValidateMode | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static MongoCollection.ValidateMode[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final MongoCollection.ValidateMode FULL
public static final MongoCollection.ValidateMode INDEX_ONLY
public static final MongoCollection.ValidateMode NORMAL
public static MongoCollection.ValidateMode[] values()
for (MongoCollection.ValidateMode c : MongoCollection.ValidateMode.values()) System.out.println(c);
public static MongoCollection.ValidateMode 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 nullCopyright © 2011-2013 Allanbank Consulting, Inc.. All Rights Reserved.