public enum KnownModelVersion extends Enum<KnownModelVersion>
| Enum Constant and Description |
|---|
VERSION_1_5_0 |
VERSION_2_0_0 |
VERSION_3_0_0 |
VERSION_4_0_0 |
VERSION_5_0_0 |
VERSION_6_0_0 |
| Modifier and Type | Method and Description |
|---|---|
ModelVersion |
getModelVersion()
The model version.
|
boolean |
hasTransformers()
Returns
true if transformers should be registered against the model version. |
static KnownModelVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KnownModelVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KnownModelVersion VERSION_1_5_0
public static final KnownModelVersion VERSION_2_0_0
public static final KnownModelVersion VERSION_3_0_0
public static final KnownModelVersion VERSION_4_0_0
public static final KnownModelVersion VERSION_5_0_0
public static final KnownModelVersion VERSION_6_0_0
public static KnownModelVersion[] values()
for (KnownModelVersion c : KnownModelVersion.values()) System.out.println(c);
public static KnownModelVersion 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 boolean hasTransformers()
true if transformers should be registered against the model version.true if transformers should be registered, otherwise falsepublic ModelVersion getModelVersion()
Copyright © 2018 JBoss by Red Hat. All rights reserved.