public enum TransactionTimeoutElement extends Enum<TransactionTimeoutElement>
Modifier and Type | Method and Description |
---|---|
static TransactionTimeoutElement |
forName(String elementName)
Returns the
TransactionTimeoutElement corresponding to the passed elementName
If no such element exists then UNKNOWN is returned. |
String |
getLocalName()
Get the local name of this element.
|
static TransactionTimeoutElement |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransactionTimeoutElement[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransactionTimeoutElement UNKNOWN
public static final TransactionTimeoutElement TIMEOUT
public static final TransactionTimeoutElement UNIT
public static TransactionTimeoutElement[] values()
for (TransactionTimeoutElement c : TransactionTimeoutElement.values()) System.out.println(c);
public static TransactionTimeoutElement valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getLocalName()
public static TransactionTimeoutElement forName(String elementName)
TransactionTimeoutElement
corresponding to the passed elementName
If no such element exists then UNKNOWN
is returned.elementName
- Copyright © 2019 JBoss, a division of Red Hat, Inc.. All Rights Reserved.