public enum PolicyType extends Enum<PolicyType>
| 枚举常量和说明 |
|---|
READ
只读
|
READ_WRITE
读写
|
WRITE
只写
|
public static final PolicyType READ
public static final PolicyType WRITE
public static final PolicyType READ_WRITE
public static PolicyType[] values()
for (PolicyType c : PolicyType.values()) System.out.println(c);
public static PolicyType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public String getType()
Copyright © 2023. All rights reserved.