Enum NgrokV2CDNUrl

  • All Implemented Interfaces:
    NgrokCDNUrl, java.io.Serializable, java.lang.Comparable<NgrokV2CDNUrl>

    public enum NgrokV2CDNUrl
    extends java.lang.Enum<NgrokV2CDNUrl>
    implements NgrokCDNUrl
    An enum that maps systems and architectures to their corresponding legacy ngrok V2 download URLs.
    • Method Detail

      • values

        public static NgrokV2CDNUrl[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (NgrokV2CDNUrl c : NgrokV2CDNUrl.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static NgrokV2CDNUrl valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getUrl

        public java.lang.String getUrl()
        Specified by:
        getUrl in interface NgrokCDNUrl