- java.lang.Object
-
- java.lang.Enum<NgrokV2CDNUrl>
-
- com.github.alexdlaird.ngrok.installer.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 legacyngrok
V2 download URLs.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DARWIN_i386_arm
DARWIN_x86_64
FREEBSD_i386
FREEBSD_x86_64
LINUX_i386
LINUX_i386_arm
LINUX_x86_64
LINUX_x86_64_arm
WINDOWS_i386
WINDOWS_x86_64
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getUrl()
static NgrokV2CDNUrl
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static NgrokV2CDNUrl[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DARWIN_x86_64
public static final NgrokV2CDNUrl DARWIN_x86_64
-
DARWIN_i386_arm
public static final NgrokV2CDNUrl DARWIN_i386_arm
-
WINDOWS_x86_64
public static final NgrokV2CDNUrl WINDOWS_x86_64
-
WINDOWS_i386
public static final NgrokV2CDNUrl WINDOWS_i386
-
LINUX_x86_64_arm
public static final NgrokV2CDNUrl LINUX_x86_64_arm
-
LINUX_i386_arm
public static final NgrokV2CDNUrl LINUX_i386_arm
-
LINUX_i386
public static final NgrokV2CDNUrl LINUX_i386
-
LINUX_x86_64
public static final NgrokV2CDNUrl LINUX_x86_64
-
FREEBSD_x86_64
public static final NgrokV2CDNUrl FREEBSD_x86_64
-
FREEBSD_i386
public static final NgrokV2CDNUrl FREEBSD_i386
-
-
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 namejava.lang.NullPointerException
- if the argument is null
-
getUrl
public java.lang.String getUrl()
- Specified by:
getUrl
in interfaceNgrokCDNUrl
-
-