condition property

GuardCondition<E> condition
final

The condition that must be met for this TransitionDefinition to be triggered. If condition is null then it always evaluates to true and the event will be triggered. Null conditions are always the last condition to be evaulated against an event, so any other condition that returns true will be fired in preference to a null condition.

Implementation

final GuardCondition<E> condition;