public abstract class AbstractEventDefinition<Self extends AbstractEventDefinition> extends FlowNodeDefinition<Self>
| Constructor and Description |
|---|
AbstractEventDefinition() |
| Modifier and Type | Method and Description |
|---|---|
Self |
continueIf(PredicateDefinition 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.
|
Self |
elapsedTime(long duration,
TimeUnit unit)
defined this event as timed event, causing the execution
to wait for the given duration.
|
Option<PredicateDefinition> |
getContinuePredicate() |
Option<TimerDefinition> |
getElapsedTimeDefinition() |
addIncoming, addOutgoing, display, documentation, equals, getDisplayName, getId, getIncoming, getOutgoing, hashCode, id, id, id, self, toStringas, is, with, withpublic Self continueIf(PredicateDefinition continuePredicate)
continuePredicate - the predicate to be checkedpublic Self elapsedTime(long duration, TimeUnit unit)
duration - the duration to be waited beforeunit - the unit of the durationpublic Option<PredicateDefinition> getContinuePredicate()
public Option<TimerDefinition> getElapsedTimeDefinition()
Copyright © 2014. All rights reserved.