public static MpackVersion parse(String mpackVersion) {
    return parse(mpackVersion, true);
  }
Method which will parse mpack version
which user passed as parameter. Also
in this method version will be validated.
@param mpackVersion string
@return MpackVersion instance which contains parsed version
ambari-server/src/main/java/org/apache/ambari/server/utils/MpackVersion.java