public synchronized long getStageId() {
    return stageId;
  }
sets status of the stage
@param status {@link HostRoleStatus}
ambari-server/src/main/java/org/apache/ambari/server/actionmanager/Stage.java