private static void setType(String name, Type type) {
      types.put(name, type);
    }
Get all of the known types.

@return all of the types
ambari-server/src/main/java/org/apache/ambari/server/controller/spi/Resource.java