class RequestStageContainer {

  public long getLastStageId() {
    return stages.isEmpty() ? -1 : stages.get(stages.size() - 1).getStageId();
  }

  public  RequestStageContainer(Long id, List<Stage> stages, RequestFactory factory, ActionManager manager);
  public  RequestStageContainer(Long id, List<Stage> stages, RequestFactory factory, ActionManager manager,
                               ExecuteActionRequest actionRequest);

}