public enum ClusterComponentType extends Enum<ClusterComponentType>
| Enum Constant and Description |
|---|
BACKUP |
CONSENSUS_MODULE |
CONTAINER |
NULL |
NULL_VAL
To be used to represent not present or null.
|
STANDBY |
| Modifier and Type | Method and Description |
|---|---|
static ClusterComponentType |
get(int value)
Lookup the enum value representing the value.
|
int |
value()
The raw encoded value in the Java type representation.
|
static ClusterComponentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClusterComponentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClusterComponentType NULL
public static final ClusterComponentType CONSENSUS_MODULE
public static final ClusterComponentType CONTAINER
public static final ClusterComponentType BACKUP
public static final ClusterComponentType STANDBY
public static final ClusterComponentType NULL_VAL
public static ClusterComponentType[] values()
for (ClusterComponentType c : ClusterComponentType.values()) System.out.println(c);
public static ClusterComponentType 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 nullpublic int value()
public static ClusterComponentType get(int value)
value - encoded to be looked up.Copyright © 2014-2023 Real Logic Limited. All Rights Reserved.