Package org.jboss.as.xts.jandex
Enum BridgeType
- java.lang.Object
-
- java.lang.Enum<BridgeType>
-
- org.jboss.as.xts.jandex.BridgeType
-
- All Implemented Interfaces:
Serializable,Comparable<BridgeType>
public enum BridgeType extends Enum<BridgeType>
- Author:
- paul.robinson@redhat.com, 2012-02-06
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BridgeTypebuild(org.jboss.jandex.AnnotationInstance annotationInstance)static BridgeTypevalueOf(String name)Returns the enum constant of this type with the specified name.static BridgeType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEFAULT
public static final BridgeType DEFAULT
-
NONE
public static final BridgeType NONE
-
JTA
public static final BridgeType JTA
-
-
Method Detail
-
values
public static BridgeType[] 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 (BridgeType c : BridgeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BridgeType 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
-
build
public static BridgeType build(org.jboss.jandex.AnnotationInstance annotationInstance) throws XTSException
- Throws:
XTSException
-
-