Class CombinedCondition

  • All Implemented Interfaces:
    ICondition

    public class CombinedCondition
    extends java.lang.Object
    implements ICondition
    • Field Detail

      • conditions

        protected ICondition[] conditions
        The conditions.
    • Constructor Detail

      • CombinedCondition

        public CombinedCondition​(ICondition[] conditions)
        Create a new CombinedCondition.
    • Method Detail

      • evaluate

        public IFuture<Tuple2<java.lang.Boolean,​java.lang.Object>> evaluate​(IEvent event)
        Description copied from interface: ICondition
        Evaluation the condition.
        Specified by:
        evaluate in interface ICondition
        Parameters:
        event - The event.
        Returns:
        True, if condition is met (plus additional user data).
      • doEvaluate

        protected IFuture<Tuple2<java.lang.Boolean,​java.lang.Object>> doEvaluate​(int i,
                                                                                       IEvent event)