public static enum MessageSelectorChain.VotingStrategy extends java.lang.Enum<MessageSelectorChain.VotingStrategy>
Enum Constant and Description |
---|
ALL |
ANY |
MAJORITY |
MAJORITY_OR_TIE |
Modifier and Type | Method and Description |
---|---|
static MessageSelectorChain.VotingStrategy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MessageSelectorChain.VotingStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageSelectorChain.VotingStrategy ALL
public static final MessageSelectorChain.VotingStrategy ANY
public static final MessageSelectorChain.VotingStrategy MAJORITY
public static final MessageSelectorChain.VotingStrategy MAJORITY_OR_TIE
public static MessageSelectorChain.VotingStrategy[] values()
for (MessageSelectorChain.VotingStrategy c : MessageSelectorChain.VotingStrategy.values()) System.out.println(c);
public static MessageSelectorChain.VotingStrategy valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is null