public enum BrokerKind extends Enum<BrokerKind>
| Enum Constant and Description |
|---|
MasterSlave |
NPlusOne |
Replicated |
StandAlone |
| Modifier and Type | Field and Description |
|---|---|
static BrokerKind |
DEFAULT
The default value of a
BrokerKind is not specified |
| Modifier and Type | Method and Description |
|---|---|
static String[] |
createStrings()
Returns an array of the string versions of the enum values
|
static BrokerKind |
fromValue(String text)
Returns the configured kind from a configuration value or returns the
DEFAULT value |
static BrokerKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BrokerKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BrokerKind StandAlone
public static final BrokerKind MasterSlave
public static final BrokerKind Replicated
public static final BrokerKind NPlusOne
public static final BrokerKind DEFAULT
BrokerKind is not specifiedpublic static BrokerKind[] values()
for (BrokerKind c : BrokerKind.values()) System.out.println(c);
public static BrokerKind 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 static BrokerKind fromValue(String text)
DEFAULT valuepublic static String[] createStrings()
Copyright © 2011–2014 Red Hat. All rights reserved.