public enum UserState extends Enum<UserState>
Enum Constant and Description |
---|
DELETED
Deleted - present in app_user, missing cwd_user
|
NOT_FOUND
not present in DB
|
PRESENT
Present - present in app_user, cwd_user
|
Modifier and Type | Method and Description |
---|---|
static UserState |
getUserState(ApplicationUser user) |
static UserState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UserState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UserState NOT_FOUND
public static final UserState DELETED
public static final UserState PRESENT
public static UserState[] values()
for (UserState c : UserState.values()) System.out.println(c);
public static UserState 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 null@Nonnull public static UserState getUserState(@Nullable ApplicationUser user)
Copyright © 2002-2023 Atlassian. All Rights Reserved.