public abstract class AbstractEventDefinition<Self extends AbstractEventDefinition> extends FlowNodeDefinition<Self>
| Constructor and Description |
|---|
AbstractEventDefinition() |
| Modifier and Type | Method and Description |
|---|---|
Self |
condition(PredicateExpression conditionPredicate)
defines this event as conditional event, causing the execution
to wait until the condition is fulfilled.
|
Self |
continueIf(PredicateExpression continuePredicate)
sets a predicate which is checked to determine whether the execution
should be continued immediately for this event, without waiting
for a signaling trigger.
|
Option<TimerDefinition> |
getConditionPollingTimeDefinition() |
Option<PredicateExpression> |
getConditionPredicate() |
Option<PredicateExpression> |
getContinuePredicate() |
Option<TimerDefinition> |
getElapsedTimeDefinition() |
Self |
pollingInterval(long duration,
TimeUnit timeUnit)
defines the interval in which conditional event predicates are checked
while they are not fulfilled.
|
Self |
timePassed(long duration,
TimeUnit unit)
defines this event as timed event, causing the execution
to wait for the given duration.
|
addIncoming, addOutgoing, display, documentation, equals, getDisplayName, getId, getIncoming, getOutgoing, hashCode, id, id, id, self, toStringas, is, with, withpublic Self continueIf(PredicateExpression continuePredicate)
continuePredicate - the predicate to be checkedpublic Self timePassed(long duration, TimeUnit unit)
duration - the duration to be waited beforeunit - the unit of the durationpublic Self condition(PredicateExpression conditionPredicate)
conditionPredicate - the condition predicate checkpublic Self pollingInterval(long duration, TimeUnit timeUnit)
duration - of the intervaltimeUnit - of the intervalpublic Option<PredicateExpression> getContinuePredicate()
public Option<TimerDefinition> getElapsedTimeDefinition()
public Option<PredicateExpression> getConditionPredicate()
public Option<TimerDefinition> getConditionPollingTimeDefinition()
Copyright © 2015. All rights reserved.