public List<ResourceConfig> getResources() {
    return resources == null ? Collections.emptyList() : resources;
  }
Get the list of view resources.

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