public enum BrokerProtocol extends Enum<BrokerProtocol>
| Enum Constant and Description |
|---|
NOTSET |
PLAINTEXT |
SASLPLAINTEXT |
SASLSSL |
SSL |
| Modifier and Type | Method and Description |
|---|---|
static BrokerProtocol |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BrokerProtocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BrokerProtocol NOTSET
public static final BrokerProtocol PLAINTEXT
public static final BrokerProtocol SSL
public static final BrokerProtocol SASLPLAINTEXT
public static final BrokerProtocol SASLSSL
public static BrokerProtocol[] values()
for (BrokerProtocol c : BrokerProtocol.values()) System.out.println(c);
public static BrokerProtocol 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 © 2020. All rights reserved.