com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client
Class GroupPickerClient

java.lang.Object
  extended by com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client.RestApiClient<GroupPickerClient>
      extended by com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client.GroupPickerClient

public class GroupPickerClient
extends RestApiClient<GroupPickerClient>

Client for the GroupPicker resource

Since:
v4.4

Nested Class Summary
 
Nested classes/interfaces inherited from class com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client.RestApiClient
RestApiClient.Method
 
Field Summary
 
Fields inherited from class com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client.RestApiClient
REST_VERSION
 
Constructor Summary
GroupPickerClient(JIRAEnvironmentData environmentData)
          Constructs a new GroupPickerClient for a JIRA instance.
 
Method Summary
 GroupSuggestions get(String query)
          GETs the group suggestions maching the given query string
 Response getResponse(String query)
          GETs the group suggestions matching the given query string, returning a Response object.
 
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
 

Constructor Detail

GroupPickerClient

public GroupPickerClient(JIRAEnvironmentData environmentData)
Constructs a new GroupPickerClient for a JIRA instance.

Parameters:
environmentData - The JIRA environment data
Method Detail

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.