public enum PrimaryNodeState extends Enum<PrimaryNodeState>
| Enum Constant and Description |
|---|
ELECTED_PRIMARY_NODE
The node receiving this state has been elected the Primary Node of the NiFi cluster.
|
PRIMARY_NODE_REVOKED
The node receiving this state was the Primary Node but has now had its Primary Node
role revoked.
|
| Modifier and Type | Method and Description |
|---|---|
static PrimaryNodeState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PrimaryNodeState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PrimaryNodeState ELECTED_PRIMARY_NODE
public static final PrimaryNodeState PRIMARY_NODE_REVOKED
public static PrimaryNodeState[] values()
for (PrimaryNodeState c : PrimaryNodeState.values()) System.out.println(c);
public static PrimaryNodeState 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 © 2016 Apache NiFi Project. All rights reserved.