public enum ContextLang extends Enum<ContextLang>
| Enum Constant and Description |
|---|
ALL
The lang of the context can be any lang.
|
CURRENT
The lang of the context is the current one.
|
OTHERS
The lang of the context can be any lang but the current one.
|
| Modifier and Type | Method and Description |
|---|---|
static ContextLang |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContextLang[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContextLang CURRENT
public static final ContextLang OTHERS
public static final ContextLang ALL
public static ContextLang[] values()
for (ContextLang c : ContextLang.values()) System.out.println(c);
public static ContextLang 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 null