| Modifier and Type | Method and Description |
|---|---|
static java.util.Optional<UserType> |
findByName(java.lang.String name) |
static UserType |
getByName(java.lang.String type) |
static boolean |
isPresent(java.lang.String name) |
static UserType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UserType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UserType INTERNAL
public static final UserType UPSA
public static final UserType GITHUB
public static final UserType LDAP
public static UserType[] values()
for (UserType c : UserType.values()) System.out.println(c);
public static UserType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static UserType getByName(java.lang.String type)
public static java.util.Optional<UserType> findByName(java.lang.String name)
public static boolean isPresent(java.lang.String name)