java.lang.Object
com.atlassian.bamboo.plugins.testutils.rest.resource.user.UserResource

@Path("user") @Consumes("application/json") @Produces("application/json") @Singleton public class UserResource extends Object
  • Constructor Details

  • Method Details

    • deleteUser

      @DELETE @Path("{userName}") public javax.ws.rs.core.Response deleteUser(@PathParam("userName") String userName)
    • createUser

      @POST public javax.ws.rs.core.Response createUser(RestUser user)
    • changeUserPassword

      @PUT @Path("/password/{userName}/{password}") public javax.ws.rs.core.Response changeUserPassword(@PathParam("userName") String username, @PathParam("password") String password)
    • createUserRepositoryAlias

      @POST @Path("alias") public javax.ws.rs.core.Response createUserRepositoryAlias(RestUserAlias alias)
    • deleteUserRepositoryAlias

      @DELETE @Path("alias/{aliasName}") public javax.ws.rs.core.Response deleteUserRepositoryAlias(@PathParam("aliasName") String aliasName)
    • getUsers

      @GET public RestUserList getUsers()
    • getRecoveryAdminName

      @GET @Path("recovery-admin-name") public String getRecoveryAdminName()
    • getUserGroups

      protected List<String> getUserGroups(RestUser user)