public enum JGroupsModel extends Enum<JGroupsModel>
| Enum Constant and Description |
|---|
VERSION_1_2_0 |
VERSION_2_0_0 |
VERSION_3_0_0 |
| 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 JGroupsModel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JGroupsModel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JGroupsModel VERSION_1_2_0
public static final JGroupsModel VERSION_2_0_0
public static final JGroupsModel VERSION_3_0_0
public static JGroupsModel[] values()
for (JGroupsModel c : JGroupsModel.values()) System.out.println(c);
public static JGroupsModel 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 © 2015 JBoss by Red Hat. All rights reserved.