code: public void setStageStates(java.util.Collection<StageState> stageStates) {
          if (stageStates == null) {
              this.stageStates = null;
              return;
          }
  
          this.stageStates = new java.util.ArrayList<StageState>(stageStates);
      }
docs: <p>
  A list of the pipeline stage output information, including stage name, state, most recent run details, whether
  the stage is disabled, and other data.
  </p>
  
  @param stageStates
  A list of the pipeline stage output information, including stage name, state, most recent run details,
  whether the stage is disabled, and other data.