Enum Attribute
- java.lang.Object
-
- java.lang.Enum<Attribute>
-
- org.jboss.as.connector.subsystems.jca.Attribute
-
- All Implemented Interfaces:
Serializable,Comparable<Attribute>
public enum Attribute extends Enum<Attribute>
An Attribute.- Author:
- Stefano Maestri
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEBUGENABLEDERRORFAIL_ON_ERRORfail-on-error attributeFAIL_ON_WARNfail-on-warn attributeIGNORE_UNKNOWN_CONNECHIONSJGROUPS_CLUSTERJGROUPS_STACKLONG_RUNNING_THREAD_POOLNAMEREQUEST_TIMEOUTSHORT_RUNNING_THREAD_POOLUNKNOWNalways the firstWORKMANAGER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AttributeforName(String localName)StringgetLocalName()Get the local name of this element.StringtoString()static AttributevalueOf(String name)Returns the enum constant of this type with the specified name.static Attribute[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final Attribute UNKNOWN
always the first
-
ENABLED
public static final Attribute ENABLED
-
FAIL_ON_ERROR
public static final Attribute FAIL_ON_ERROR
fail-on-error attribute
-
FAIL_ON_WARN
public static final Attribute FAIL_ON_WARN
fail-on-warn attribute
-
SHORT_RUNNING_THREAD_POOL
public static final Attribute SHORT_RUNNING_THREAD_POOL
-
LONG_RUNNING_THREAD_POOL
public static final Attribute LONG_RUNNING_THREAD_POOL
-
DEBUG
public static final Attribute DEBUG
-
ERROR
public static final Attribute ERROR
-
IGNORE_UNKNOWN_CONNECHIONS
public static final Attribute IGNORE_UNKNOWN_CONNECHIONS
-
NAME
public static final Attribute NAME
-
WORKMANAGER
public static final Attribute WORKMANAGER
-
JGROUPS_STACK
public static final Attribute JGROUPS_STACK
-
JGROUPS_CLUSTER
public static final Attribute JGROUPS_CLUSTER
-
REQUEST_TIMEOUT
public static final Attribute REQUEST_TIMEOUT
-
-
Method Detail
-
values
public static Attribute[] 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 (Attribute c : Attribute.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Attribute 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
-
getLocalName
public String getLocalName()
Get the local name of this element.- Returns:
- the local name
-
-