public String getName() {
    return directory.getName();
  }
Obtain the name of the directory.

@return name of the directory
ambari-server/src/main/java/org/apache/ambari/server/stack/StackDefinitionDirectory.java