Class YarnDistributionUrlResolver


  • public final class YarnDistributionUrlResolver
    extends java.lang.Object
    Resolves the name of a distribution supported by the underlying OS and JRE.
    • Constructor Summary

      Constructors 
      Constructor Description
      YarnDistributionUrlResolver​(java.lang.String version, java.lang.String distributionUrl)
      Builds a resolver for the local platform.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.net.URL resolve()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • YarnDistributionUrlResolver

        public YarnDistributionUrlResolver​(java.lang.String version,
                                           java.lang.String distributionUrl)
        Builds a resolver for the local platform.
        Parameters:
        version - Version of the distribution.
        distributionUrl - URL to download the distribution.