public enum JBossClientElement extends Enum<JBossClientElement>
Enum Constant and Description |
---|
DEPENDS |
JNDI_NAME |
METADATA_COMPLETE |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static JBossClientElement |
forName(String elementName)
Returns the
JBossClientElement corresponding to the passed elementName
If no such element exists then UNKNOWN is returned. |
String |
getLocalName()
Get the local name of this element.
|
static JBossClientElement |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JBossClientElement[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JBossClientElement UNKNOWN
public static final JBossClientElement DEPENDS
public static final JBossClientElement JNDI_NAME
public static final JBossClientElement METADATA_COMPLETE
public static JBossClientElement[] values()
for (JBossClientElement c : JBossClientElement.values()) System.out.println(c);
public static JBossClientElement 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 JBossClientElement forName(String elementName)
JBossClientElement
corresponding to the passed elementName
If no such element exists then UNKNOWN
is returned.elementName
- Copyright © 2018 JBoss, a division of Red Hat, Inc.. All Rights Reserved.