com.atlassian.jira.rest.v2.issue
Class GroupBean
java.lang.Object
com.atlassian.jira.issue.fields.rest.json.beans.GroupJsonBean
com.atlassian.jira.rest.v2.issue.GroupBean
public class GroupBean
- extends GroupJsonBean
A representation of Group for the GroupResource (contains additional expand users parameter)
- Since:
- v4.2
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DOC_EXAMPLE_WITH_USERS
public static final GroupBean DOC_EXAMPLE_WITH_USERS
GroupBean
public GroupBean(String name,
URI self,
PagedListWrapper<UserJsonBean,com.atlassian.crowd.embedded.api.User> users)
- Creates a new GroupBean for the group with the given name, self URI and users list.
- Parameters:
name
- a String containing the group nameself
- an REST Resource URI for that groupusers
- a list of active users that're in this group. This is optional parameter and there can be null
passed (to avoid recursion when getting an user with associated groups).
getUsers
public PagedListWrapper<UserJsonBean,com.atlassian.crowd.embedded.api.User> getUsers()
Copyright © 2002-2013 Atlassian. All Rights Reserved.