public static Type[] values() {
      return types.values().toArray(new Type[types.size()]);
    }
Get all of the known types.

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