Enum InfinispanSchema
- java.lang.Object
-
- java.lang.Enum<InfinispanSchema>
-
- org.jboss.as.clustering.infinispan.subsystem.InfinispanSchema
-
- All Implemented Interfaces:
Serializable,Comparable<InfinispanSchema>,org.jboss.as.clustering.controller.Schema<InfinispanSchema>
public enum InfinispanSchema extends Enum<InfinispanSchema> implements org.jboss.as.clustering.controller.Schema<InfinispanSchema>
Enumeration of the supported subsystem xml schemas.- Author:
- Paul Ferraro
-
-
Enum Constant Summary
Enum Constants Enum Constant Description VERSION_10_0VERSION_11_0VERSION_12_0VERSION_13_0VERSION_14_0VERSION_9_0VERSION_9_1
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetNamespaceUri()intmajor()intminor()static InfinispanSchemavalueOf(String name)Returns the enum constant of this type with the specified name.static InfinispanSchema[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VERSION_9_0
public static final InfinispanSchema VERSION_9_0
-
VERSION_9_1
public static final InfinispanSchema VERSION_9_1
-
VERSION_10_0
public static final InfinispanSchema VERSION_10_0
-
VERSION_11_0
public static final InfinispanSchema VERSION_11_0
-
VERSION_12_0
public static final InfinispanSchema VERSION_12_0
-
VERSION_13_0
public static final InfinispanSchema VERSION_13_0
-
VERSION_14_0
public static final InfinispanSchema VERSION_14_0
-
-
Method Detail
-
values
public static InfinispanSchema[] 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 (InfinispanSchema c : InfinispanSchema.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InfinispanSchema 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 interfaceorg.jboss.as.clustering.controller.Schema<InfinispanSchema>
-
minor
public int minor()
- Specified by:
minorin interfaceorg.jboss.as.clustering.controller.Schema<InfinispanSchema>
-
getNamespaceUri
public String getNamespaceUri()
- Specified by:
getNamespaceUriin interfaceorg.jboss.as.clustering.controller.Schema<InfinispanSchema>
-
-