@Immutable public class PermissionSet extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
PermissionSet.Config |
static class |
PermissionSet.Role |
Constructor and Description |
---|
PermissionSet(Set<String> users,
Set<String> groups,
Set<PermissionSet.Role> roles,
Set<Permission> permissions) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Set<String> |
getGroups() |
Set<Permission> |
getPermissions() |
Set<String> |
getUsers() |
int |
hashCode() |
boolean |
isAnonymous() |
boolean |
isLoggedIn() |
String |
toString() |
public PermissionSet(@NotNull Set<String> users, @NotNull Set<String> groups, @NotNull Set<PermissionSet.Role> roles, @NotNull Set<Permission> permissions)
@NotNull public Set<Permission> getPermissions()
public boolean isLoggedIn()
public boolean isAnonymous()
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.