public class GroupResource extends Object
Modifier and Type | Field and Description |
---|---|
static RestGroup |
REST_GROUP |
static List<RestGroup> |
REST_GROUPS |
Constructor and Description |
---|
GroupResource(UserService restGroupService,
GroupConversionFunction groupConversionFunction) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
createGroup(RestGroup restGroup,
Expansion expansion,
javax.ws.rs.core.UriInfo uriInfo)
Create a group in Bamboo
|
List<RestGroup> |
getGroup(String name,
Expansion expansion,
javax.ws.rs.core.UriInfo uriInfo)
Retrieve a list of groups in Bamboo.
|
public static final RestGroup REST_GROUP
public GroupResource(UserService restGroupService, GroupConversionFunction groupConversionFunction)
public List<RestGroup> getGroup(String name, @Context Expansion expansion, @Context javax.ws.rs.core.UriInfo uriInfo) throws WebValidationException
name
- Name of groupWebValidationException
public javax.ws.rs.core.Response createGroup(RestGroup restGroup, @Context Expansion expansion, @Context javax.ws.rs.core.UriInfo uriInfo) throws WebValidationException
restGroup
- RestGroup object that contains name of the group.Response
A response contains the created group.WebValidationException
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.