public String getStackVersion() {
    return stackVersion;
  }
Gets the version of the stack, such as "2.2".

@return the stack version (never {@code null}).
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/StackEntity.java