Enum ModClusterSchema
- java.lang.Object
-
- java.lang.Enum<ModClusterSchema>
-
- org.wildfly.extension.mod_cluster.ModClusterSchema
-
- All Implemented Interfaces:
Serializable,Comparable<ModClusterSchema>,Schema<ModClusterSchema>
public enum ModClusterSchema extends Enum<ModClusterSchema> implements Schema<ModClusterSchema>
- Author:
- Jean-Frederic Clere, Paul Ferraro, Radoslav Husar
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MODCLUSTER_5_0MODCLUSTER_6_0
-
Field Summary
Fields Modifier and Type Field Description static ModClusterSchemaCURRENT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetNamespaceUri()intmajor()intminor()static ModClusterSchemavalueOf(String name)Returns the enum constant of this type with the specified name.static ModClusterSchema[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MODCLUSTER_5_0
public static final ModClusterSchema MODCLUSTER_5_0
-
MODCLUSTER_6_0
public static final ModClusterSchema MODCLUSTER_6_0
-
-
Field Detail
-
CURRENT
public static final ModClusterSchema CURRENT
-
-
Method Detail
-
values
public static ModClusterSchema[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ModClusterSchema c : ModClusterSchema.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ModClusterSchema valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
major
public int major()
- Specified by:
majorin interfaceSchema<ModClusterSchema>
-
minor
public int minor()
- Specified by:
minorin interfaceSchema<ModClusterSchema>
-
getNamespaceUri
public String getNamespaceUri()
- Specified by:
getNamespaceUriin interfaceSchema<ModClusterSchema>
-
-