public enum ElectionState extends Enum<ElectionState> implements State<ElectionContext,ElectionMessage>
Election API.| Modifier and Type | Class and Description |
|---|---|
static class |
ElectionState.ElectionTimeoutData |
| Modifier and Type | Method and Description |
|---|---|
static ElectionState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ElectionState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ElectionState start
public static final ElectionState election
public static ElectionState[] values()
for (ElectionState c : ElectionState.values()) System.out.println(c);
public static ElectionState 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 © 2002–2017 The Neo4j Graph Database Project. All rights reserved.