Enum UndertowRequirement
- java.lang.Object
-
- java.lang.Enum<UndertowRequirement>
-
- org.wildfly.clustering.web.undertow.UndertowRequirement
-
- All Implemented Interfaces:
Serializable,Comparable<UndertowRequirement>,org.jboss.as.clustering.controller.ServiceNameFactory,org.jboss.as.clustering.controller.ServiceNameFactoryProvider,org.wildfly.clustering.service.Requirement
public enum UndertowRequirement extends Enum<UndertowRequirement> implements org.wildfly.clustering.service.Requirement, org.jboss.as.clustering.controller.ServiceNameFactoryProvider
- Author:
- Paul Ferraro
-
-
Enum Constant Summary
Enum Constants Enum Constant Description UNDERTOW
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()org.jboss.as.clustering.controller.ServiceNameFactorygetServiceNameFactory()Class<?>getType()static UndertowRequirementvalueOf(String name)Returns the enum constant of this type with the specified name.static UndertowRequirement[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNDERTOW
public static final UndertowRequirement UNDERTOW
-
-
Method Detail
-
values
public static UndertowRequirement[] 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 (UndertowRequirement c : UndertowRequirement.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UndertowRequirement 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
-
getName
public String getName()
- Specified by:
getNamein interfaceorg.wildfly.clustering.service.Requirement
-
getType
public Class<?> getType()
- Specified by:
getTypein interfaceorg.wildfly.clustering.service.Requirement
-
getServiceNameFactory
public org.jboss.as.clustering.controller.ServiceNameFactory getServiceNameFactory()
- Specified by:
getServiceNameFactoryin interfaceorg.jboss.as.clustering.controller.ServiceNameFactoryProvider
-
-