public enum KernelAPIVersion extends Enum<KernelAPIVersion>
| Enum Constant and Description |
|---|
CURRENT |
VERSION_1_5 |
VERSION_1_6 |
VERSION_1_7 |
VERSION_1_8 |
VERSION_2_0 |
VERSION_2_1 |
VERSION_3_0 |
VERSION_4_0 |
VERSION_4_1 |
VERSION_4_2 |
VERSION_5_0 |
VERSION_6_0 |
VERSION_7_0 |
VERSION_8_0 |
| Modifier and Type | Method and Description |
|---|---|
ModelVersion |
getModelVersion() |
static KernelAPIVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KernelAPIVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KernelAPIVersion VERSION_1_5
public static final KernelAPIVersion VERSION_1_6
public static final KernelAPIVersion VERSION_1_7
public static final KernelAPIVersion VERSION_1_8
public static final KernelAPIVersion VERSION_2_0
public static final KernelAPIVersion VERSION_2_1
public static final KernelAPIVersion VERSION_3_0
public static final KernelAPIVersion VERSION_4_0
public static final KernelAPIVersion VERSION_4_1
public static final KernelAPIVersion VERSION_4_2
public static final KernelAPIVersion VERSION_5_0
public static final KernelAPIVersion VERSION_6_0
public static final KernelAPIVersion VERSION_7_0
public static final KernelAPIVersion VERSION_8_0
public static final KernelAPIVersion CURRENT
public static KernelAPIVersion[] values()
for (KernelAPIVersion c : KernelAPIVersion.values()) System.out.println(c);
public static KernelAPIVersion 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 nullpublic ModelVersion getModelVersion()
Copyright © 2019 JBoss by Red Hat. All rights reserved.