public static enum UserService.UserServiceRetrievalFlag extends Enum<UserService.UserServiceRetrievalFlag>
Enum Constant and Description |
---|
CREATE
This flag defines that a user should be created from an external repository (if not found
before).
|
FORCE_EXTERNAL_REPO_CHECK
This flag defines that the user lookup will be forced on the configured external system.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
containsFlag(UserService.UserServiceRetrievalFlag[] flags,
UserService.UserServiceRetrievalFlag flag)
Checks if the flag is contained in flags
|
static UserService.UserServiceRetrievalFlag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UserService.UserServiceRetrievalFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UserService.UserServiceRetrievalFlag CREATE
public static final UserService.UserServiceRetrievalFlag FORCE_EXTERNAL_REPO_CHECK
public static UserService.UserServiceRetrievalFlag[] values()
for (UserService.UserServiceRetrievalFlag c : UserService.UserServiceRetrievalFlag.values()) System.out.println(c);
public static UserService.UserServiceRetrievalFlag 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 static boolean containsFlag(UserService.UserServiceRetrievalFlag[] flags, UserService.UserServiceRetrievalFlag flag)
flags
- the flagsflag
- the flagCopyright © 2019 Communote team. All rights reserved.