public enum BehaviorLabel extends Enum<BehaviorLabel> implements Label
Label.Util| Enum Constant and Description |
|---|
TRANSIENT
Behavior labels.
|
| Modifier and Type | Method and Description |
|---|---|
String |
label()
Gets the full-form label String.
|
static void |
main(String... args)
Prints all known behavior labels.
|
static BehaviorLabel |
ofName(String name)
Gets the BehaviorLabel enum via case-insensitive short-name.
|
static String |
toLabel(String name)
Gets the full-form behavior label from the case-insensitive short-name.
|
static BehaviorLabel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BehaviorLabel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BehaviorLabel TRANSIENT
public static BehaviorLabel[] values()
for (BehaviorLabel c : BehaviorLabel.values()) System.out.println(c);
public static BehaviorLabel 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 label()
public static final BehaviorLabel ofName(String name)
name - the case-insensitive short-namepublic static final String toLabel(String name)
name - the case-insensitive short-namepublic static void main(String... args)
args - ignoredCopyright © 2013-2014 JBoss by Red Hat. All Rights Reserved.