public static enum DefaultProfileImageProvider.ProfileImageSource extends Enum<DefaultProfileImageProvider.ProfileImageSource>
Enum Constant and Description |
---|
BASE64
Image stored in base64
|
DEFAULT
The default image
|
GRAVATAR
Gravatar
|
INITIALS
Image with the initial
|
LOCALIMAGE
Local images
|
UPLOAD
Uploaded image
|
USERPREF
To be extracted from userpref
|
USERSMANAGER
Provided by the users manager
|
Modifier and Type | Method and Description |
---|---|
static DefaultProfileImageProvider.ProfileImageSource |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DefaultProfileImageProvider.ProfileImageSource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DefaultProfileImageProvider.ProfileImageSource LOCALIMAGE
public static final DefaultProfileImageProvider.ProfileImageSource GRAVATAR
public static final DefaultProfileImageProvider.ProfileImageSource USERSMANAGER
public static final DefaultProfileImageProvider.ProfileImageSource INITIALS
public static final DefaultProfileImageProvider.ProfileImageSource UPLOAD
public static final DefaultProfileImageProvider.ProfileImageSource BASE64
public static final DefaultProfileImageProvider.ProfileImageSource USERPREF
public static final DefaultProfileImageProvider.ProfileImageSource DEFAULT
public static DefaultProfileImageProvider.ProfileImageSource[] values()
for (DefaultProfileImageProvider.ProfileImageSource c : DefaultProfileImageProvider.ProfileImageSource.values()) System.out.println(c);
public static DefaultProfileImageProvider.ProfileImageSource 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