Package org.ametys.core.ui.right
Enum Class ProfileAssignmentsToolClientSideElement.TargetType
java.lang.Object
java.lang.Enum<ProfileAssignmentsToolClientSideElement.TargetType>
org.ametys.core.ui.right.ProfileAssignmentsToolClientSideElement.TargetType
- All Implemented Interfaces:
Serializable
,Comparable<ProfileAssignmentsToolClientSideElement.TargetType>
,java.lang.constant.Constable
- Enclosing class:
- ProfileAssignmentsToolClientSideElement
public static enum ProfileAssignmentsToolClientSideElement.TargetType
extends Enum<ProfileAssignmentsToolClientSideElement.TargetType>
Enumeration of all possible target types
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionIndicates that the target is the anonymous userIndicates that the target is the anonymous userIndicates that the target is a groupIndicates that the target is a user -
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
-
ANONYMOUS
Indicates that the target is the anonymous user -
ANYCONNECTED_USER
Indicates that the target is the anonymous user -
USER
Indicates that the target is a user -
GROUP
Indicates that the target is a group
-
-
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
-