com.atlassian.jira.functest.framework.backdoor
Class UserProfileControl

java.lang.Object
  extended by com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client.RestApiClient<T>
      extended by com.atlassian.jira.functest.framework.backdoor.BackdoorControl<UserProfileControl>
          extended by com.atlassian.jira.functest.framework.backdoor.UserProfileControl
All Implemented Interfaces:
FuncTestLogger

public class UserProfileControl
extends BackdoorControl<UserProfileControl>

Use this class from func/selenium/page-object tests that need to manipulate User Profiles. See UserProfileBackdoor for the code this plugs into at the back-end.

Since:
v5.0

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.functest.framework.backdoor.BackdoorControl
restPathRootLength
 
Fields inherited from class com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client.RestApiClient
REST_VERSION
 
Constructor Summary
UserProfileControl(JIRAEnvironmentData environmentData)
           
 
Method Summary
 void changeUserNotificationType(String username, String format)
          Changes the given user's email format to the one supplied.
 
Methods inherited from class com.atlassian.jira.functest.framework.backdoor.BackdoorControl
createResource, delete, get, get, get, getId, log, log, post
 
Methods inherited from class com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client.RestApiClient
anonymous, 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

UserProfileControl

public UserProfileControl(JIRAEnvironmentData environmentData)
Method Detail

changeUserNotificationType

public void changeUserNotificationType(String username,
                                       String format)
Changes the given user's email format to the one supplied.

Parameters:
username - the user to change the email format for
format - either "html" or "text"


Copyright © 2002-2012 Atlassian. All Rights Reserved.