Enum Element
- java.lang.Object
-
- java.lang.Enum<Element>
-
- org.jboss.as.connector.subsystems.jca.Element
-
- All Implemented Interfaces:
Serializable,Comparable<Element>
public enum Element extends Enum<Element>
An Element.- Author:
- Stefano Maestri
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ARCHIVE_VALIDATIONarchive-validation elementBEAN_VALIDATIONbean-validation elementBOOTSTRAP_CONTEXTBOOTSTRAP_CONTEXTSbootstrap-contexts elementCACHED_CONNECTION_MANAGERcached-connection-manager elementDEFAULT_WORKMANAGERdefault-workmanager elementDISTRIBUTED_WORKMANAGERdistributed workmanager elementELYTRON_ENABLEDelytron-enabled elementLONG_RUNNING_THREADSlong-running-threads elementOPTIONPOLICYSELECTORSHORT_RUNNING_THREADSshort-running-threads elementTRACERUNKNOWNalways the firstWORKMANAGERworkmanager elementWORKMANAGERS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ElementforName(String localName)StringgetLocalName()Get the local name of this element.static ElementvalueOf(String name)Returns the enum constant of this type with the specified name.static Element[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final Element UNKNOWN
always the first
-
ARCHIVE_VALIDATION
public static final Element ARCHIVE_VALIDATION
archive-validation element
-
BEAN_VALIDATION
public static final Element BEAN_VALIDATION
bean-validation element
-
DEFAULT_WORKMANAGER
public static final Element DEFAULT_WORKMANAGER
default-workmanager element
-
CACHED_CONNECTION_MANAGER
public static final Element CACHED_CONNECTION_MANAGER
cached-connection-manager element
-
SHORT_RUNNING_THREADS
public static final Element SHORT_RUNNING_THREADS
short-running-threads element
-
LONG_RUNNING_THREADS
public static final Element LONG_RUNNING_THREADS
long-running-threads element
-
WORKMANAGER
public static final Element WORKMANAGER
workmanager element
-
DISTRIBUTED_WORKMANAGER
public static final Element DISTRIBUTED_WORKMANAGER
distributed workmanager element
-
WORKMANAGERS
public static final Element WORKMANAGERS
-
BOOTSTRAP_CONTEXTS
public static final Element BOOTSTRAP_CONTEXTS
bootstrap-contexts element
-
BOOTSTRAP_CONTEXT
public static final Element BOOTSTRAP_CONTEXT
-
POLICY
public static final Element POLICY
-
SELECTOR
public static final Element SELECTOR
-
OPTION
public static final Element OPTION
-
TRACER
public static final Element TRACER
-
ELYTRON_ENABLED
public static final Element ELYTRON_ENABLED
elytron-enabled element
-
-
Method Detail
-
values
public static Element[] 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 (Element c : Element.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Element 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
-
-