public enum ReleaseVersion extends Enum<ReleaseVersion>
This information is introduced after Release 2.0 and oneM2M uses only R2A, R3_0 (as 2a and 3).
Enum Constant and Description |
---|
R1_0
Release 1
|
R1_1
Release 1.1
|
R2_0
Release 2
|
R2A
Release 2A
|
R3_0
Release 3
|
R4_0
Release 4 (reserved for future)
|
R5_0
Release 5 (reserved for future)
|
Modifier and Type | Method and Description |
---|---|
static ReleaseVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReleaseVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReleaseVersion R1_0
public static final ReleaseVersion R1_1
public static final ReleaseVersion R2_0
public static final ReleaseVersion R2A
public static final ReleaseVersion R3_0
public static final ReleaseVersion R4_0
public static final ReleaseVersion R5_0
public static ReleaseVersion[] values()
for (ReleaseVersion c : ReleaseVersion.values()) System.out.println(c);
public static ReleaseVersion valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © Contributors to the Eclipse Foundation Licensed under the Eclipse Foundation Specification License – v1.0