Package | Description |
---|---|
de.tudarmstadt.ukp.clarin.webanno.security.model |
Modifier and Type | Method and Description |
---|---|
static Role |
Role.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Role[] |
Role.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Set<Role> |
User.getRoles() |
static Set<Role> |
Role.getRoles() |
Modifier and Type | Method and Description |
---|---|
void |
User.setRoles(Set<Role> roles) |
Constructor and Description |
---|
User(String aName,
Role... aRoles)
This constructor is mainly intended for testing.
|
Copyright © 2012–2018. All rights reserved.