Enum TernaryCapabilityNameResolver
- java.lang.Object
-
- java.lang.Enum<TernaryCapabilityNameResolver>
-
- org.jboss.as.controller.capability.TernaryCapabilityNameResolver
-
- All Implemented Interfaces:
Serializable
,Comparable<TernaryCapabilityNameResolver>
,Function<PathAddress,String[]>
public enum TernaryCapabilityNameResolver extends Enum<TernaryCapabilityNameResolver> implements Function<PathAddress,String[]>
Dynamic name mapper implementations for ternary capability names.- Author:
- Paul Ferraro
-
-
Enum Constant Summary
Enum Constants Enum Constant Description GRANDPARENT_PARENT_CHILD
GREATGRANDPARENT_GRANDPARENT_CHILD
GREATGRANDPARENT_GRANDPARENT_PARENT
GREATGRANDPARENT_PARENT_CHILD
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TernaryCapabilityNameResolver
valueOf(String name)
Returns the enum constant of this type with the specified name.static TernaryCapabilityNameResolver[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GRANDPARENT_PARENT_CHILD
public static final TernaryCapabilityNameResolver GRANDPARENT_PARENT_CHILD
-
GREATGRANDPARENT_GRANDPARENT_PARENT
public static final TernaryCapabilityNameResolver GREATGRANDPARENT_GRANDPARENT_PARENT
-
GREATGRANDPARENT_GRANDPARENT_CHILD
public static final TernaryCapabilityNameResolver GREATGRANDPARENT_GRANDPARENT_CHILD
-
GREATGRANDPARENT_PARENT_CHILD
public static final TernaryCapabilityNameResolver GREATGRANDPARENT_PARENT_CHILD
-
-
Method Detail
-
values
public static TernaryCapabilityNameResolver[] 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 (TernaryCapabilityNameResolver c : TernaryCapabilityNameResolver.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TernaryCapabilityNameResolver 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
-
-