public enum ApiCmPeerType extends Enum<ApiCmPeerType>
| Modifier and Type | Class and Description |
|---|---|
static class |
ApiCmPeerType.Adapter |
| Enum Constant and Description |
|---|
REPLICATION |
STATUS_AGGREGATION |
| Modifier and Type | Method and Description |
|---|---|
static ApiCmPeerType |
fromValue(String text) |
String |
getValue() |
String |
toString() |
static ApiCmPeerType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ApiCmPeerType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApiCmPeerType REPLICATION
public static final ApiCmPeerType STATUS_AGGREGATION
public static ApiCmPeerType[] values()
for (ApiCmPeerType c : ApiCmPeerType.values()) System.out.println(c);
public static ApiCmPeerType 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 String getValue()
public String toString()
toString in class Enum<ApiCmPeerType>public static ApiCmPeerType fromValue(String text)
Copyright © 2021. All rights reserved.