Enum NgrokCDNUrl
- java.lang.Object
-
- java.lang.Enum<NgrokCDNUrl>
-
- com.github.alexdlaird.ngrok.installer.NgrokCDNUrl
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<NgrokCDNUrl>
public enum NgrokCDNUrl extends java.lang.Enum<NgrokCDNUrl>
An enum that maps systems and architectures to their correspondingngrok
download URLs.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DARWIN_i386
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 NgrokCDNUrl
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static NgrokCDNUrl[]
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 NgrokCDNUrl DARWIN_x86_64
-
DARWIN_i386
public static final NgrokCDNUrl DARWIN_i386
-
WINDOWS_x86_64
public static final NgrokCDNUrl WINDOWS_x86_64
-
WINDOWS_i386
public static final NgrokCDNUrl WINDOWS_i386
-
LINUX_x86_64_arm
public static final NgrokCDNUrl LINUX_x86_64_arm
-
LINUX_i386_arm
public static final NgrokCDNUrl LINUX_i386_arm
-
LINUX_i386
public static final NgrokCDNUrl LINUX_i386
-
LINUX_x86_64
public static final NgrokCDNUrl LINUX_x86_64
-
FREEBSD_x86_64
public static final NgrokCDNUrl FREEBSD_x86_64
-
FREEBSD_i386
public static final NgrokCDNUrl FREEBSD_i386
-
-
Method Detail
-
values
public static NgrokCDNUrl[] 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 (NgrokCDNUrl c : NgrokCDNUrl.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NgrokCDNUrl 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()
-
-