Package jadex.rules.eca.annotations
Class CombinedCondition
- java.lang.Object
-
- jadex.rules.eca.annotations.CombinedCondition
-
- All Implemented Interfaces:
ICondition
public class CombinedCondition extends java.lang.Object implements ICondition
-
-
Field Summary
Fields Modifier and Type Field Description protected ICondition[]
conditions
The conditions.-
Fields inherited from interface jadex.rules.eca.ICondition
FALSE, TRUE, TRUE_CONDITION
-
-
Constructor Summary
Constructors Constructor Description CombinedCondition(ICondition[] conditions)
Create a new CombinedCondition.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected IFuture<Tuple2<java.lang.Boolean,java.lang.Object>>
doEvaluate(int i, IEvent event)
IFuture<Tuple2<java.lang.Boolean,java.lang.Object>>
evaluate(IEvent event)
Evaluation the condition.
-
-
-
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 interfaceICondition
- Parameters:
event
- The event.- Returns:
- True, if condition is met (plus additional user data).
-
-