@com.adaptavist.hapi.platform.analytics.Tracked class Groups extends java.lang.Object
Constructor and description |
---|
Groups() |
Type Params | Return Type | Name and description |
---|---|---|
|
static com.atlassian.crowd.embedded.api.Group |
create(java.lang.String name) Creates a new group Groups.create('admins') |
|
static com.atlassian.crowd.embedded.api.Group |
getByName(java.lang.String name) Retrieves a Group by name Groups.getByName('admins') |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Creates a new group
Groups.create('admins')
name
- of the groupRetrieves a Group by name
Groups.getByName('admins')
name
- of the group to retrieve