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