Class StageResource


  • @Singleton
    public class StageResource
    extends Object
    • Constructor Detail

    • Method Detail

      • createStages

        public javax.ws.rs.core.Response createStages​(RestStageBatch stageBatch)
                                               throws WebValidationException
        Create a number of stages in the given plan with randomised names. Each stage can optionally be created with a random number of jobs within a given range.
        Parameters:
        stageBatch - details of the stages and jobs to be created.
        Throws:
        WebValidationException - if invalid input is provided.