public RepositoryVersionEntity getTargetRepositoryVersion() {
    return targetRepositoryVersion;
  }
Gets the target repository version for this upgrade.

@return the target repository for the services in the upgrade (not
        {@code null}).
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/UpgradeHistoryEntity.java