public Collection<ViewEntity> getDefinitions() {
    return viewDefinitions.values();
  }
Get the collection of all the view definitions.

@return the collection of view definitions
ambari-server/src/main/java/org/apache/ambari/server/view/ViewRegistry.java