com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client
Class GroupPickerClient
java.lang.Object
com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client.RestApiClient<GroupPickerClient>
com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client.GroupPickerClient
public class GroupPickerClient
- extends RestApiClient<GroupPickerClient>
Client for the GroupPicker resource
- Since:
- v4.4
Methods inherited from class com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client.RestApiClient |
anonymous, createResource, errorResponse, expanded, loginAs, loginAs, percentEncode, resourceRoot, setOf, toResponse, toResponse |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GroupPickerClient
public GroupPickerClient(JIRAEnvironmentData environmentData)
- Constructs a new GroupPickerClient for a JIRA instance.
- Parameters:
environmentData
- The JIRA environment data
get
public GroupSuggestions get(String query)
throws com.sun.jersey.api.client.UniformInterfaceException
- GETs the group suggestions maching the given query string
- Parameters:
query
- a String to search groups against
- Returns:
- a GroupSuggestions
- Throws:
com.sun.jersey.api.client.UniformInterfaceException
- if anything goes wrong
getResponse
public Response getResponse(String query)
- GETs the group suggestions matching the given query string, returning a Response object.
- Parameters:
query
- a String to search against
- Returns:
- a Response
Copyright © 2002-2012 Atlassian. All Rights Reserved.