public enum ResourcesType extends Enum<ResourcesType> implements net.wicp.tams.common.constant.dic.intf.IEnumCombobox
| 枚举常量和说明 |
|---|
Deployment |
Pod |
Service |
Unknown |
| 限定符和类型 | 方法和说明 |
|---|---|
static ResourcesType |
find(String name) |
String[] |
getColNames() |
String |
getColValue(String valueStr,
String colName)
需要从k8s里取出来的值 ,eg: helm status binlog-test-db-user-info 没取出来就是出问题了
|
String |
getDesc_en() |
String |
getDesc_zh() |
String |
getDesc() |
String |
getName() |
static Map<ResourcesType,String> |
readResources(String resourcesStr) |
static ResourcesType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static ResourcesType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final ResourcesType Service
public static final ResourcesType Deployment
public static final ResourcesType Pod
public static final ResourcesType Unknown
public static ResourcesType[] values()
for (ResourcesType c : ResourcesType.values()) System.out.println(c);
public static ResourcesType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public String getDesc()
getDesc 在接口中 net.wicp.tams.common.constant.dic.intf.IEnumComboboxpublic String getName()
getName 在接口中 net.wicp.tams.common.constant.dic.intf.IEnumComboboxpublic String[] getColNames()
public String getDesc_zh()
getDesc_zh 在接口中 net.wicp.tams.common.constant.dic.intf.IEnumComboboxpublic String getDesc_en()
getDesc_en 在接口中 net.wicp.tams.common.constant.dic.intf.IEnumComboboxpublic String getColValue(String valueStr, String colName)
valueStr - public static Map<ResourcesType,String> readResources(String resourcesStr)
public static ResourcesType find(String name)
Copyright © 2019. All rights reserved.