public StackDirectory getStackDirectory() {
    return stackDirectory;
  }
Get the associated stack directory.

@return associated stack directory
ambari-server/src/main/java/org/apache/ambari/server/stack/StackModule.java