public static enum VotingHandler.VotingDetail extends Enum<VotingHandler.VotingDetail>
| Enum Constant and Description |
|---|
PROMOTED |
TIMEDOUT |
UNCHANGED |
VOTED_NO |
VOTED_YES |
WINNING |
| Modifier and Type | Method and Description |
|---|---|
static VotingHandler.VotingDetail |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VotingHandler.VotingDetail[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VotingHandler.VotingDetail PROMOTED
public static final VotingHandler.VotingDetail WINNING
public static final VotingHandler.VotingDetail VOTED_YES
public static final VotingHandler.VotingDetail VOTED_NO
public static final VotingHandler.VotingDetail UNCHANGED
public static final VotingHandler.VotingDetail TIMEDOUT
public static VotingHandler.VotingDetail[] values()
for (VotingHandler.VotingDetail c : VotingHandler.VotingDetail.values()) System.out.println(c);
public static VotingHandler.VotingDetail 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 © 2007–2017 The Apache Software Foundation. All rights reserved.