@Immutable @ParametersAreNonnullByDefault public final class PermissionSchemeImpl extends Object implements PermissionScheme
ID_COMPARATOR
NAME_COMPARATOR
Constructor and Description |
---|
PermissionSchemeImpl(Long id,
String name,
String description) |
PermissionSchemeImpl(Long id,
String name,
String description,
Iterable<PermissionGrant> permissions) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getDescription()
Returns an optional description of this scheme.
|
Long |
getId()
Returns an id of the permission grant as stored in DB.
|
String |
getName()
Returns the permission scheme name.
|
List<PermissionGrant> |
getPermissions()
Returns a collection of permission grants defined in this scheme.
|
int |
hashCode() |
String |
toString() |
public PermissionSchemeImpl(Long id, String name, @Nullable String description)
public Long getId()
PermissionScheme
getId
in interface WithId
getId
in interface PermissionScheme
public String getName()
PermissionScheme
getName
in interface PermissionScheme
getName
in interface Named
public String getDescription()
PermissionScheme
getDescription
in interface PermissionScheme
getDescription
in interface NamedWithDescription
public List<PermissionGrant> getPermissions()
PermissionScheme
getPermissions
in interface PermissionScheme
Copyright © 2002-2019 Atlassian. All Rights Reserved.