public String getStackName() {
    return m_stackName;
  }
The name of the stack, such as {@code STACK} if the stack is
{@code STACK-1.0.0}.

@return the stack name.
ambari-server-spi/src/main/java/org/apache/ambari/spi/RepositoryVersion.java