public static enum AppUser.ScopeEnum extends Enum<AppUser.ScopeEnum>
Modifier and Type | Method and Description |
---|---|
static AppUser.ScopeEnum |
fromValue(String value) |
String |
getValue() |
String |
toString() |
static AppUser.ScopeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AppUser.ScopeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AppUser.ScopeEnum USER
public static final AppUser.ScopeEnum GROUP
public static AppUser.ScopeEnum[] values()
for (AppUser.ScopeEnum c : AppUser.ScopeEnum.values()) System.out.println(c);
public static AppUser.ScopeEnum 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<AppUser.ScopeEnum>
public static AppUser.ScopeEnum fromValue(String value)
Copyright © 2017–2023 Okta. All rights reserved.