public static enum ZooKeeperSaslClient.SaslState extends Enum<ZooKeeperSaslClient.SaslState>
Enum Constant and Description |
---|
COMPLETE |
FAILED |
INITIAL |
INTERMEDIATE |
Modifier and Type | Method and Description |
---|---|
static ZooKeeperSaslClient.SaslState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ZooKeeperSaslClient.SaslState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ZooKeeperSaslClient.SaslState INITIAL
public static final ZooKeeperSaslClient.SaslState INTERMEDIATE
public static final ZooKeeperSaslClient.SaslState COMPLETE
public static final ZooKeeperSaslClient.SaslState FAILED
public static ZooKeeperSaslClient.SaslState[] values()
for (ZooKeeperSaslClient.SaslState c : ZooKeeperSaslClient.SaslState.values()) System.out.println(c);
public static ZooKeeperSaslClient.SaslState 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 © 2008–2021 The Apache Software Foundation. All rights reserved.