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