public Map<String, RepositoryVersionEntity> getTargetVersions() {
    return new HashMap<>(m_targetRepositoryMap);
  }
Gets the version being upgraded to or downgraded to for all services
participating. This is the version that the service will be on if the
upgrade or downgrade succeeds.
<p/>
With a {@link Direction#UPGRADE}, all services should be targetting the
same repository version. However, {@link Direction#DOWNGRADE} will target
the original repository that the service was on.

@return the target version for the upgrade
ambari-server/src/main/java/org/apache/ambari/server/stack/upgrade/orchestrate/UpgradeContext.java