com.atlassian.jira.webtest.selenium.harness.util
Interface UserPreferences

All Known Implementing Classes:
UserPreferencesImpl

public interface UserPreferences

There must be a user already logged in. You can then change various preferences for that user.

Since:
v4.2

Method Summary
 void setKeyboardShortcutsEnabled(boolean enabled)
          Enable and disable the keyboard shortcuts (aka commands) for the logged in user
 void setLanguage(String locale)
          Set the locale preference for the current user
 

Method Detail

setKeyboardShortcutsEnabled

void setKeyboardShortcutsEnabled(boolean enabled)
Enable and disable the keyboard shortcuts (aka commands) for the logged in user

Parameters:
enabled - - if the keyboard shortcuts should be enabled or not.

setLanguage

void setLanguage(String locale)
Set the locale preference for the current user

Parameters:
locale - the locale e.g. "de_DE". Use "-1" for the default language.


Copyright © 2002-2013 Atlassian. All Rights Reserved.