public enum BootstrapProviderType extends java.lang.Enum<BootstrapProviderType>
Enum Constant and Description |
---|
CARRIER
Configuration Carrier Publication Protocol (CCCP)
|
HTTP
HTTP-based protocol
|
NONE
No bootstrap provider has been specified
|
Modifier and Type | Method and Description |
---|---|
boolean |
isCarrier() |
boolean |
isHttp() |
static BootstrapProviderType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BootstrapProviderType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BootstrapProviderType NONE
public static final BootstrapProviderType CARRIER
public static final BootstrapProviderType HTTP
public static BootstrapProviderType[] values()
for (BootstrapProviderType c : BootstrapProviderType.values()) System.out.println(c);
public static BootstrapProviderType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic boolean isCarrier()
public boolean isHttp()
Copyright © 2006-2009 Dustin Sallings, 2009-2012 Couchbase, Inc.