public void setFromRepositoryVersion(RepositoryVersionEntity repositoryVersionEntity) {
    fromRepositoryVersion = repositoryVersionEntity;
  }
Sets the repository that the services in the upgrade are CURRENT on.

@param repositoryVersionEntity
         the repository entity (not {@code null}).
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/UpgradeHistoryEntity.java