Class TestkitPropertyResource
java.lang.Object
com.atlassian.crowd.plugins.testkit.rest.TestkitPropertyResource
@Component
@Produces("application/json")
@Consumes("application/json")
@Path("/property")
public class TestkitPropertyResource
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.ResponsedeleteProperty(String key) jakarta.ws.rs.core.ResponsegetProperty(String key) jakarta.ws.rs.core.ResponsesetProperty(Map<String, String> properties)
-
Constructor Details
-
TestkitPropertyResource
-
-
Method Details
-
getProperty
@GET @Path("/{key}") public jakarta.ws.rs.core.Response getProperty(@PathParam("key") String key) throws ObjectNotFoundException - Throws:
ObjectNotFoundException
-
setProperty
@POST public jakarta.ws.rs.core.Response setProperty(Map<String, String> properties) throws ObjectNotFoundException- Throws:
ObjectNotFoundException
-
deleteProperty
@DELETE @Path("/{key}") public jakarta.ws.rs.core.Response deleteProperty(@PathParam("key") String key) throws ObjectNotFoundException - Throws:
ObjectNotFoundException
-