public void setVersionAdvertised(boolean versionAdvertised) {
    this.versionAdvertisedInternal = versionAdvertised;
  }
WARNING: only call this from ComponentModule to resolve the boolean (true|false).
@param versionAdvertised Final resolution of whether version is advertised or not.
ambari-server/src/main/java/org/apache/ambari/server/state/ComponentInfo.java