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