public static enum PiTranslationEvent.Type extends java.lang.Enum<PiTranslationEvent.Type>
| Enum Constant and Description |
|---|
FORGOT
Signals that a previously learned mapping between a PD entity and its
PI counterpart has been removed.
|
LEARNED
Signals that A PD entity has been translated to a PI one, and the
mapping between the two entities has been learned by the system.
|
| Modifier and Type | Method and Description |
|---|---|
static PiTranslationEvent.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PiTranslationEvent.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PiTranslationEvent.Type LEARNED
public static final PiTranslationEvent.Type FORGOT
public static PiTranslationEvent.Type[] values()
for (PiTranslationEvent.Type c : PiTranslationEvent.Type.values()) System.out.println(c);
public static PiTranslationEvent.Type 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 null