Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

UsersWsParameters.java 2.2KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. /*
  2. * SonarQube
  3. * Copyright (C) 2009-2021 SonarSource SA
  4. * mailto:info AT sonarsource DOT com
  5. *
  6. * This program is free software; you can redistribute it and/or
  7. * modify it under the terms of the GNU Lesser General Public
  8. * License as published by the Free Software Foundation; either
  9. * version 3 of the License, or (at your option) any later version.
  10. *
  11. * This program is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  14. * Lesser General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU Lesser General Public License
  17. * along with this program; if not, write to the Free Software Foundation,
  18. * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  19. */
  20. package org.sonarqube.ws.client.user;
  21. public class UsersWsParameters {
  22. public static final String CONTROLLER_USERS = "api/users";
  23. public static final String ACTION_SEARCH = "search";
  24. public static final String ACTION_CREATE = "create";
  25. public static final String ACTION_DEACTIVATE = "deactivate";
  26. public static final String ACTION_UPDATE = "update";
  27. public static final String ACTION_SKIP_ONBOARDING_TUTORIAL = "skip_onboarding_tutorial";
  28. public static final String ACTION_CURRENT = "current";
  29. public static final String ACTION_UPDATE_IDENTITY_PROVIDER = "update_identity_provider";
  30. public static final String PARAM_LOGIN = "login";
  31. public static final String PARAM_PASSWORD = "password";
  32. public static final String PARAM_NAME = "name";
  33. public static final String PARAM_EMAIL = "email";
  34. public static final String PARAM_SCM_ACCOUNTS = "scmAccounts";
  35. public static final String PARAM_SCM_ACCOUNTS_DEPRECATED = "scm_accounts";
  36. public static final String PARAM_SCM_ACCOUNT = "scmAccount";
  37. public static final String PARAM_LOCAL = "local";
  38. public static final String PARAM_SELECTED = "selected";
  39. public static final String PARAM_NEW_EXTERNAL_PROVIDER = "newExternalProvider";
  40. public static final String PARAM_NEW_EXTERNAL_IDENTITY = "newExternalIdentity";
  41. private UsersWsParameters() {
  42. // Only static stuff
  43. }
  44. }