@API(status=INTERNAL) public enum DatafeedVersion extends java.lang.Enum<DatafeedVersion>
Modifier and Type | Method and Description |
---|---|
static DatafeedVersion |
of(java.lang.String version)
Get
DatafeedVersion from a String |
static DatafeedVersion |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DatafeedVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DatafeedVersion V1
public static final DatafeedVersion V2
public static DatafeedVersion[] values()
for (DatafeedVersion c : DatafeedVersion.values()) System.out.println(c);
public static DatafeedVersion 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 static DatafeedVersion of(java.lang.String version)
DatafeedVersion
from a Stringversion
- version in string