public Collection<DependencyInfo> getDependenciesForComponent(String component) {
    return dependencies.containsKey(component) ? dependencies.get(component) :
        Collections.emptySet();
  }
Return the dependencies specified for the given component.

@param component  component to get dependency information for

@return collection of dependency information for the specified component
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/Stack.java