Package org.ametys.core.right
Enum ProfileAssignmentStorage.AnonymousOrAnyConnectedKeys
- java.lang.Object
-
- java.lang.Enum<ProfileAssignmentStorage.AnonymousOrAnyConnectedKeys>
-
- org.ametys.core.right.ProfileAssignmentStorage.AnonymousOrAnyConnectedKeys
-
- All Implemented Interfaces:
Serializable
,Comparable<ProfileAssignmentStorage.AnonymousOrAnyConnectedKeys>
- Enclosing interface:
- ProfileAssignmentStorage
public static enum ProfileAssignmentStorage.AnonymousOrAnyConnectedKeys extends Enum<ProfileAssignmentStorage.AnonymousOrAnyConnectedKeys>
Keys for method that can return profiles of anonymous or any connected user
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANONYMOUS_ALLOWED
Allowed profiles for anonymousANONYMOUS_DENIED
Denied profiles for anonymousANYCONNECTEDUSER_ALLOWED
Allowed profiles for any connected usersANYCONNECTEDUSER_DENIED
Denied profiles for any connected users
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ProfileAssignmentStorage.AnonymousOrAnyConnectedKeys
valueOf(String name)
Returns the enum constant of this type with the specified name.static ProfileAssignmentStorage.AnonymousOrAnyConnectedKeys[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ANONYMOUS_ALLOWED
public static final ProfileAssignmentStorage.AnonymousOrAnyConnectedKeys ANONYMOUS_ALLOWED
Allowed profiles for anonymous
-
ANONYMOUS_DENIED
public static final ProfileAssignmentStorage.AnonymousOrAnyConnectedKeys ANONYMOUS_DENIED
Denied profiles for anonymous
-
ANYCONNECTEDUSER_ALLOWED
public static final ProfileAssignmentStorage.AnonymousOrAnyConnectedKeys ANYCONNECTEDUSER_ALLOWED
Allowed profiles for any connected users
-
ANYCONNECTEDUSER_DENIED
public static final ProfileAssignmentStorage.AnonymousOrAnyConnectedKeys ANYCONNECTEDUSER_DENIED
Denied profiles for any connected users
-
-
Method Detail
-
values
public static ProfileAssignmentStorage.AnonymousOrAnyConnectedKeys[] 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 (ProfileAssignmentStorage.AnonymousOrAnyConnectedKeys c : ProfileAssignmentStorage.AnonymousOrAnyConnectedKeys.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ProfileAssignmentStorage.AnonymousOrAnyConnectedKeys 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
-
-