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