public enum TmContextType extends java.lang.Enum<TmContextType> implements EnumConverter<TmContextType>
Enum Constant and Description |
---|
AUTO |
PREV_AND_NEXT_SEGMENT |
SEGMENT_CONTEXT |
Modifier and Type | Method and Description |
---|---|
static TmContextType |
from(java.lang.String value) |
java.lang.String |
to(TmContextType v) |
static TmContextType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TmContextType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TmContextType SEGMENT_CONTEXT
public static final TmContextType AUTO
public static final TmContextType PREV_AND_NEXT_SEGMENT
public static TmContextType[] values()
for (TmContextType c : TmContextType.values()) System.out.println(c);
public static TmContextType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static TmContextType from(java.lang.String value)
public java.lang.String to(TmContextType v)
to
in interface EnumConverter<TmContextType>