public RepositoryVersionState getRepositoryState() {
    return repoState;
  }
@return the state of the repository for {@link #getDesiredVersion()}
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/ServiceComponentDesiredStateEntity.java