public static enum ReplicaInfo.Priority extends Enum<ReplicaInfo.Priority>
Modifier and Type | Method and Description |
---|---|
static ReplicaInfo.Priority |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReplicaInfo.Priority[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReplicaInfo.Priority LOW
public static final ReplicaInfo.Priority MEDIUM
public static final ReplicaInfo.Priority HIGH
public static ReplicaInfo.Priority[] values()
for (ReplicaInfo.Priority c : ReplicaInfo.Priority.values()) System.out.println(c);
public static ReplicaInfo.Priority 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 © 2019–2021 HCL. All rights reserved.