public static enum Auth.AuthType extends Enum<Auth.AuthType>
| 枚举常量和说明 |
|---|
PERMISSION
权限
|
ROLE
角色
|
public static final Auth.AuthType ROLE
public static final Auth.AuthType PERMISSION
public static Auth.AuthType[] values()
for (Auth.AuthType c : Auth.AuthType.values()) System.out.println(c);
public static Auth.AuthType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2019. All rights reserved.