Package org.ametys.plugins.core.ui.user
Enum Class DefaultProfileImageProvider.ProfileImageSource
java.lang.Object
java.lang.Enum<DefaultProfileImageProvider.ProfileImageSource>
org.ametys.plugins.core.ui.user.DefaultProfileImageProvider.ProfileImageSource
- All Implemented Interfaces:
Serializable
,Comparable<DefaultProfileImageProvider.ProfileImageSource>
,java.lang.constant.Constable
- Enclosing class:
- DefaultProfileImageProvider
public static enum DefaultProfileImageProvider.ProfileImageSource
extends Enum<DefaultProfileImageProvider.ProfileImageSource>
Profile image source enum
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionImage stored in base64The default imageGravatarImage with the initialLocal imagesUploaded imageTo be extracted from userprefProvided by the users manager -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LOCALIMAGE
Local images -
GRAVATAR
Gravatar -
USERSMANAGER
Provided by the users manager -
INITIALS
Image with the initial -
UPLOAD
Uploaded image -
BASE64
Image stored in base64 -
USERPREF
To be extracted from userpref -
DEFAULT
The default image
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-