@Internal public enum SpacePermissionSubjectType extends Enum<SpacePermissionSubjectType>
Enum Constant and Description |
---|
ALL_AUTHENTICATED_USERS
Represents space permissions granted to all authenticated users.
|
ANONYMOUS
Represents space permissions granted to anonymous users.
|
GROUP
Represents space permissions received via group membership, where a group is associated with the permission.
|
USER
Represents space permissions received where the user is directly associated with the permission.
|
Modifier and Type | Method and Description |
---|---|
static SpacePermissionSubjectType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SpacePermissionSubjectType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpacePermissionSubjectType GROUP
SpacePermission.isGroupPermission()
.public static final SpacePermissionSubjectType USER
SpacePermission.isUserPermission()
.public static final SpacePermissionSubjectType ALL_AUTHENTICATED_USERS
SpacePermission.isAuthenticatedUsersPermission()
.public static final SpacePermissionSubjectType ANONYMOUS
SpacePermission.isAnonymousPermission()
.public static SpacePermissionSubjectType[] values()
for (SpacePermissionSubjectType c : SpacePermissionSubjectType.values()) System.out.println(c);
public static SpacePermissionSubjectType 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 nullCopyright © 2003–2020 Atlassian. All rights reserved.