public void addStages(List<Stage> stages) {
    if (stages != null) {
      this.stages.addAll(stages);
    }
  }
Add stages to request.

@param stages stages to add
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/RequestStageContainer.java