public UpgradeSummary getUpgradeSummary() {
    return upgradeSummary;
  }
Gets the upgrade summary if there is an active upgrade in the cluster.

@return the upgrade or {@code null} for none.
ambari-server/src/main/java/org/apache/ambari/server/agent/ExecutionCommand.java