@Stability.Volatile public enum DesignDocumentNamespace extends Enum<DesignDocumentNamespace>
| Enum Constant and Description |
|---|
DEVELOPMENT |
PRODUCTION |
| Modifier and Type | Method and Description |
|---|---|
abstract String |
adjustName(String name) |
abstract boolean |
contains(String rawDesignDocName) |
static String |
requireUnqualified(String name) |
static DesignDocumentNamespace |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DesignDocumentNamespace[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DesignDocumentNamespace DEVELOPMENT
public static final DesignDocumentNamespace PRODUCTION
public static DesignDocumentNamespace[] values()
for (DesignDocumentNamespace c : DesignDocumentNamespace.values()) System.out.println(c);
public static DesignDocumentNamespace 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 abstract boolean contains(String rawDesignDocName)
Copyright © 2021 Couchbase, Inc.. All rights reserved.