public enum ScsClusterType extends Enum<ScsClusterType>
| Enum Constant and Description |
|---|
CLUSTER
cluster 企业集群版
|
MASTER_SLAVE
master_slave 主从版
|
NATIVE_CLUSTER
native-cluster 社区版集群
|
UNKNOWN
unknown type
|
| Modifier and Type | Method and Description |
|---|---|
static ScsClusterType |
create(String value) |
String |
getValue() |
String |
toString() |
static ScsClusterType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScsClusterType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScsClusterType CLUSTER
public static final ScsClusterType MASTER_SLAVE
public static final ScsClusterType NATIVE_CLUSTER
public static final ScsClusterType UNKNOWN
public static ScsClusterType[] values()
for (ScsClusterType c : ScsClusterType.values()) System.out.println(c);
public static ScsClusterType 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<ScsClusterType>public static ScsClusterType create(String value)
Copyright © 2023. All rights reserved.