public static CacheXmlVersion valueForVersion(final String version) {
    final CacheXmlVersion cacheXmlVersion = valuesForVersion.get(version);
    if (null == cacheXmlVersion) {
      throw new IllegalArgumentException("No enum constant "
          + CacheXmlVersion.class.getCanonicalName() + " for version " + version + ".");
    }
    return cacheXmlVersion;
  }
Get {@link CacheXmlVersion} for given <code>version</code> string. Use constants from
{@link CacheXml} for example:
<code>CacheXmlVersion.valueForVersion(CacheXml.GEMFIRE_8_1);</code>

@param version string to lookup.
@return {@link CacheXmlVersion} if exists.
@throws IllegalArgumentException if version does not exist.
@since GemFire 8.1
geode-core/src/main/java/org/apache/geode/internal/cache/xmlcache/CacheXmlVersion.java