@PublicApi public interface PermissionScheme extends WithId, NamedWithDescription
Permission scheme consists of a list of PermissionGrant
s.
Each scheme has a unique name and an optional description.
Implementations of this interface are required to be immutable.
ID_COMPARATOR
NAME_COMPARATOR
Modifier and Type | Method and Description |
---|---|
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.
|
Collection<PermissionGrant> |
getPermissions()
Returns a collection of permission grants defined in this scheme.
|
@Nonnull String getDescription()
getDescription
in interface NamedWithDescription
@Nonnull Collection<PermissionGrant> getPermissions()
Copyright © 2002-2019 Atlassian. All Rights Reserved.