Package org.ametys.core.ui.right
Enum ProfileAssignmentsToolClientSideElement.TargetType
- java.lang.Object
-
- java.lang.Enum<ProfileAssignmentsToolClientSideElement.TargetType>
-
- org.ametys.core.ui.right.ProfileAssignmentsToolClientSideElement.TargetType
-
- All Implemented Interfaces:
Serializable
,Comparable<ProfileAssignmentsToolClientSideElement.TargetType>
- Enclosing class:
- ProfileAssignmentsToolClientSideElement
public static enum ProfileAssignmentsToolClientSideElement.TargetType extends Enum<ProfileAssignmentsToolClientSideElement.TargetType>
Enumeration of all possible target types
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANONYMOUS
Indicates that the target is the anonymous userANYCONNECTED_USER
Indicates that the target is the anonymous userGROUP
Indicates that the target is a groupUSER
Indicates that the target is a user
-
Constructor Summary
Constructors Modifier Constructor Description private
TargetType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ProfileAssignmentsToolClientSideElement.TargetType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ProfileAssignmentsToolClientSideElement.TargetType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ANONYMOUS
public static final ProfileAssignmentsToolClientSideElement.TargetType ANONYMOUS
Indicates that the target is the anonymous user
-
ANYCONNECTED_USER
public static final ProfileAssignmentsToolClientSideElement.TargetType ANYCONNECTED_USER
Indicates that the target is the anonymous user
-
USER
public static final ProfileAssignmentsToolClientSideElement.TargetType USER
Indicates that the target is a user
-
GROUP
public static final ProfileAssignmentsToolClientSideElement.TargetType GROUP
Indicates that the target is a group
-
-
Constructor Detail
-
TargetType
private TargetType()
-
-
Method Detail
-
values
public static ProfileAssignmentsToolClientSideElement.TargetType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ProfileAssignmentsToolClientSideElement.TargetType c : ProfileAssignmentsToolClientSideElement.TargetType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ProfileAssignmentsToolClientSideElement.TargetType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-