Package org.wildfly.extension.undertow
Enum UndertowPersistentResourceXMLDescriptionFactory
- java.lang.Object
-
- java.lang.Enum<UndertowPersistentResourceXMLDescriptionFactory>
-
- org.wildfly.extension.undertow.UndertowPersistentResourceXMLDescriptionFactory
-
- All Implemented Interfaces:
Serializable
,Comparable<UndertowPersistentResourceXMLDescriptionFactory>
,Function<UndertowSubsystemSchema,org.jboss.as.controller.PersistentResourceXMLDescription>
public enum UndertowPersistentResourceXMLDescriptionFactory extends Enum<UndertowPersistentResourceXMLDescriptionFactory> implements Function<UndertowSubsystemSchema,org.jboss.as.controller.PersistentResourceXMLDescription>
Factory for creating thePersistentResourceXMLDescription
for a given schema.- Author:
- Paul Ferraro
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jboss.as.controller.PersistentResourceXMLDescription
apply(UndertowSubsystemSchema schema)
static UndertowPersistentResourceXMLDescriptionFactory
valueOf(String name)
Returns the enum constant of this type with the specified name.static UndertowPersistentResourceXMLDescriptionFactory[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INSTANCE
public static final UndertowPersistentResourceXMLDescriptionFactory INSTANCE
-
-
Method Detail
-
values
public static UndertowPersistentResourceXMLDescriptionFactory[] 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 (UndertowPersistentResourceXMLDescriptionFactory c : UndertowPersistentResourceXMLDescriptionFactory.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UndertowPersistentResourceXMLDescriptionFactory 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
-
apply
public org.jboss.as.controller.PersistentResourceXMLDescription apply(UndertowSubsystemSchema schema)
- Specified by:
apply
in interfaceFunction<UndertowSubsystemSchema,org.jboss.as.controller.PersistentResourceXMLDescription>
-
-