public static enum AuthUtils.PERMISSION_TYPE extends Enum<AuthUtils.PERMISSION_TYPE>
Enum Constant and Description |
---|
MQTT_USER |
SUPER_ADMIN |
USER |
Modifier and Type | Method and Description |
---|---|
static AuthUtils.PERMISSION_TYPE |
fromString(String text) |
static AuthUtils.PERMISSION_TYPE |
get(int id) |
String |
getText() |
static AuthUtils.PERMISSION_TYPE |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthUtils.PERMISSION_TYPE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthUtils.PERMISSION_TYPE SUPER_ADMIN
public static final AuthUtils.PERMISSION_TYPE USER
public static final AuthUtils.PERMISSION_TYPE MQTT_USER
public static AuthUtils.PERMISSION_TYPE[] values()
for (AuthUtils.PERMISSION_TYPE c : AuthUtils.PERMISSION_TYPE.values()) System.out.println(c);
public static AuthUtils.PERMISSION_TYPE 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 getText()
public static AuthUtils.PERMISSION_TYPE get(int id)
public static AuthUtils.PERMISSION_TYPE fromString(String text)
Copyright © 2015–2019. All rights reserved.