public enum EJB3Model extends Enum<EJB3Model>
Enum Constant and Description |
---|
VERSION_1_2_0 |
VERSION_1_2_1 |
VERSION_1_3_0 |
VERSION_4_0_0 |
Modifier and Type | Method and Description |
---|---|
org.jboss.as.controller.ModelVersion |
getVersion() |
boolean |
matches(org.jboss.as.controller.ModelVersion version)
Indicates whether this model is equal to the specified version
|
boolean |
requiresTransformation(org.jboss.as.controller.ModelVersion version)
Indicates whether this model is more recent than the specified version and thus requires transformation
|
static EJB3Model |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EJB3Model[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EJB3Model VERSION_1_2_0
public static final EJB3Model VERSION_1_2_1
public static final EJB3Model VERSION_1_3_0
public static final EJB3Model VERSION_4_0_0
public static EJB3Model[] values()
for (EJB3Model c : EJB3Model.values()) System.out.println(c);
public static EJB3Model 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 org.jboss.as.controller.ModelVersion getVersion()
public boolean requiresTransformation(org.jboss.as.controller.ModelVersion version)
version
- a model versionpublic boolean matches(org.jboss.as.controller.ModelVersion version)
version
- a model versionCopyright © 2017 JBoss by Red Hat. All rights reserved.