@Path(value="stage") @Consumes(value="application/json") @Produces(value="application/json") @Singleton public class StageResource extends Object
Modifier and Type | Field and Description |
---|---|
static RestStageBatch |
API_DOC_EXAMPLE_CREATE_STAGES |
static RestStageBatch.RestStageJobBatch |
API_DOC_EXAMPLE_JOB_BATCH |
Constructor and Description |
---|
StageResource(StageTestService stageTestService) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
createStages(RestStageBatch stageBatch)
Create a number of stages in the given plan with randomised names.
|
public static final RestStageBatch.RestStageJobBatch API_DOC_EXAMPLE_JOB_BATCH
public static final RestStageBatch API_DOC_EXAMPLE_CREATE_STAGES
public StageResource(StageTestService stageTestService)
@POST @Path(value="/batch") public javax.ws.rs.core.Response createStages(RestStageBatch stageBatch) throws WebValidationException
stageBatch
- details of the stages and jobs to be created.WebValidationException
- if invalid input is provided.Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.