@Path(value="/job") @Named @Produces(value="application/json") @Consumes(value="application/json") public class PruningJobResource extends Object
Constructor and Description |
---|
PruningJobResource(PruningJobController pruningJobController) |
Modifier and Type | Method and Description |
---|---|
PruningJobStatusEntity |
getPruningStatus() |
javax.ws.rs.core.Response |
runPruningJob() |
@Inject public PruningJobResource(PruningJobController pruningJobController)
@POST @Path(value="/run") public javax.ws.rs.core.Response runPruningJob() throws com.atlassian.scheduler.SchedulerServiceException
com.atlassian.scheduler.SchedulerServiceException
@GET @Path(value="/status") public PruningJobStatusEntity getPruningStatus()
Copyright © 2021 Atlassian. All rights reserved.