Class ReindexResource
java.lang.Object
com.atlassian.bamboo.plugins.rest.resource.ReindexResource
@Consumes("application/json")
@Produces("application/json")
@Path("reindex")
public class ReindexResource
extends Object
REST resource for starting/stopping/querying indexing.
-
Constructor Summary
ConstructorDescriptionReindexResource
(RestHelperWrapper restHelperWrapper, IndexerManager indexerManager) -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
getReindexInfo
(javax.ws.rs.core.UriInfo uriInfo) javax.ws.rs.core.Response
reindex
(javax.ws.rs.core.UriInfo uriInfo)
-
Constructor Details
-
ReindexResource
-
-
Method Details
-
reindex
@POST public javax.ws.rs.core.Response reindex(@Context javax.ws.rs.core.UriInfo uriInfo) -
getReindexInfo
@GET public javax.ws.rs.core.Response getReindexInfo(@Context javax.ws.rs.core.UriInfo uriInfo)
-