public enum DETaskTriggerType extends Enum<DETaskTriggerType>
Enum Constant and Description |
---|
FIELD_EXIT
Field Exit: Trigger validation on field exit and manually
|
KEYSTROKE
Keystrokes: Trigger validation on keystrokes
|
MANUAL
Manual: Trigger validation manually only
|
NONE
None: Do not validate
|
SAVE
Save: Trigger validation on save and manually
|
Modifier and Type | Method and Description |
---|---|
boolean |
executesOn(DETaskTriggerType pActualTrigger)
Returns true if a
IDETaskValidation or IDETaskEnricher
defined with this Trigger should considered when the
validation/enrichment is triggered with actualTrigger. |
static DETaskTriggerType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DETaskTriggerType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DETaskTriggerType KEYSTROKE
public static final DETaskTriggerType FIELD_EXIT
public static final DETaskTriggerType SAVE
public static final DETaskTriggerType MANUAL
public static final DETaskTriggerType NONE
public static DETaskTriggerType[] values()
for (DETaskTriggerType c : DETaskTriggerType.values()) System.out.println(c);
public static DETaskTriggerType 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 boolean executesOn(DETaskTriggerType pActualTrigger)
IDETaskValidation
or IDETaskEnricher
defined with this Trigger should considered when the
validation/enrichment is triggered with actualTrigger.
A trigger is considered for execution when the actual trigger has an equals or higher higher level:
pActualTrigger
- a trigger type (NONE is irrelevant here and would return
false)Copyright © 2015. All Rights Reserved.