public enum UpdateChannel extends java.lang.Enum<UpdateChannel>
Enum Constant and Description |
---|
All
All stable releases, including major versions.
|
Invalid
No channel specified.
|
Stable
All stable releases (maintenance and minor releases within the same major release).
|
WithBetas
All stable and major releases, including beta versions.
|
WithTesting
All stable, major and beta releases, including testing versions.
|
Modifier and Type | Method and Description |
---|---|
static UpdateChannel |
fromValue(long v) |
static UpdateChannel |
fromValue(java.lang.String v) |
int |
value() |
static UpdateChannel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UpdateChannel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UpdateChannel Invalid
public static final UpdateChannel Stable
public static final UpdateChannel All
public static final UpdateChannel WithBetas
public static final UpdateChannel WithTesting
public static UpdateChannel[] values()
for (UpdateChannel c : UpdateChannel.values()) System.out.println(c);
public static UpdateChannel 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 int value()
public static UpdateChannel fromValue(long v)
public static UpdateChannel fromValue(java.lang.String v)