public enum TriggerResult extends Enum<TriggerResult>
Enum Constant and Description |
---|
NOT_TRIGGERED |
TRIGGERED_FROM_EVENTSOURCE |
TRIGGERED_FROM_IFPART |
TRIGGERED_FROM_ONPART |
Modifier and Type | Method and Description |
---|---|
boolean |
isTriggered() |
boolean |
isTriggeredFromEventSource() |
boolean |
isTriggeredFromIfPart() |
boolean |
isTriggeredFromOnPart(TriggerMode triggerMode) |
TriggerResult |
upgrade(TriggerResult to) |
static TriggerResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TriggerResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TriggerResult NOT_TRIGGERED
public static final TriggerResult TRIGGERED_FROM_IFPART
public static final TriggerResult TRIGGERED_FROM_ONPART
public static final TriggerResult TRIGGERED_FROM_EVENTSOURCE
public static TriggerResult[] values()
for (TriggerResult c : TriggerResult.values()) System.out.println(c);
public static TriggerResult 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 isTriggered()
public boolean isTriggeredFromIfPart()
public boolean isTriggeredFromOnPart(TriggerMode triggerMode)
public boolean isTriggeredFromEventSource()
public TriggerResult upgrade(TriggerResult to)
Copyright © 2010 - 2019 edorasware ag. All Rights Reserved.