@Mixins(value=Role.Mixin.class) public interface Role extends HasIdentity
Modifier and Type | Interface and Description |
---|---|
static class |
Role.Mixin |
HasIdentity.HasIdentityMixin
IDENTITY_METHOD, IDENTITY_STATE_NAME
Modifier and Type | Method and Description |
---|---|
RoleAssignment |
assignTo(RoleAssignee assignee) |
Property<String> |
name() |
Property<List<String>> |
permissions() |
identity
@UseDefaults Property<List<String>> permissions()
RoleAssignment assignTo(RoleAssignee assignee)