public static enum FirefoxBinary.Channel extends java.lang.Enum<FirefoxBinary.Channel>
Modifier and Type | Method and Description |
---|---|
static FirefoxBinary.Channel |
fromString(java.lang.String name)
Gets a channel with the name matching the parameter.
|
java.lang.String |
toString() |
static FirefoxBinary.Channel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FirefoxBinary.Channel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FirefoxBinary.Channel ESR
public static final FirefoxBinary.Channel RELEASE
public static final FirefoxBinary.Channel BETA
public static final FirefoxBinary.Channel AURORA
public static final FirefoxBinary.Channel NIGHTLY
public static FirefoxBinary.Channel[] values()
for (FirefoxBinary.Channel c : FirefoxBinary.Channel.values()) System.out.println(c);
public static FirefoxBinary.Channel valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<FirefoxBinary.Channel>
public static FirefoxBinary.Channel fromString(java.lang.String name)
name
- the channel name