public List<InstanceConfig> getInstances() {
    return instances == null ? Collections.emptyList() : instances;
  }
Get the list of view instances.

@return the list of view instances
ambari-server/src/main/java/org/apache/ambari/server/view/configuration/ViewConfig.java