public Collection<ExtensionInfo> getExtensions() {
    return stackManager.getExtensions();
  }
Convenience method to get stack info from a stack id
@param stackId
           the stack id
@return  the stack info
@throws AmbariException
ambari-server/src/main/java/org/apache/ambari/server/api/services/AmbariMetaInfo.java