public enum ApiCmPeerType extends Enum<ApiCmPeerType>
Enum Constant and Description |
---|
REPLICATION |
STATUS_AGGREGATION |
Modifier and Type | Method and Description |
---|---|
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 nullCopyright © Cloudera, Inc. Released under Apache License, Version 2.0.